Description
Boost.JSON 1.84.0 through 1.92.0 contains an information exposure vulnerability because parser_for reset() does not reset nested parse_into handlers, retaining state across documents. Attackers controlling an abandoned or subsequent document parsed by a reused parser_for can cause partial string data from one document to appear in another's result.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Boost | Boost.JSON | 1.84.0 – ≤ 1.92.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.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | boost1.90 +1 | No fix yet | — |
| Ubuntu 26.04 LTS | boost1.88 +1 | No fix yet | — |
References
- https://github.com/boostorg/json/pull/1226 issue-tracking patch
- https://github.com/boostorg/json/blob/boost-1.92.0/include/boost/json/detail/parse_into.hpp#L350-L387 technical-description
- https://github.com/boostorg/json/blob/boost-1.92.0/include/boost/json/detail/parse_into.hpp#L1868-L1871 technical-description
- VulnCheck Advisory: Boost.JSON 1.84.0 through 1.92.0 Information Exposure via parser_for reset() third-party-advisory