Description
json-smart through 2.6.0 contains an input validation bypass vulnerability that allows attackers to evade strict-mode trailing-data checks by inserting a literal 0x1A character. Attackers can append 0x1A and malformed content to pass JSONValue.parseStrict or isValidJsonStrict validation, creating parser differentials with downstream parsers like Jackson or Gson.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| json-smart | json-smart | ≤ 2.6.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | json-smart | No fix yet | — |
| Debian 13 | json-smart | No fix yet | — |
| Debian 12 | json-smart | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | json-smart | No fix yet | — |
| Ubuntu 26.04 LTS | json-smart | No fix yet | — |
| Ubuntu 24.04 LTS | json-smart | No fix yet | — |
| Ubuntu 22.04 LTS | json-smart | No fix yet | — |
| Ubuntu 20.04 LTS | json-smart | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | json-smart | No fix yet | — |
References
- https://github.com/netplex/json-smart-v2/issues/302 issue-tracking
- https://github.com/netplex/json-smart-v2/blob/v2.6.0/json-smart/src/main/java/net/minidev/json/parser/JSONParserBase.java technical-description
- VulnCheck Advisory: json-smart through 2.6.0 Strict-Mode Validation Bypass via 0x1A Character third-party-advisory