Description
Boost.JSON 1.75.0 through 1.92.0 contains a denial of service vulnerability in monotonic_resource::release() because it does not reset next_size_ when returning blocks upstream. Attackers can send repeated JSON documents larger than the initial block, growing allocation sizes geometrically until every later allocation fails with bad_alloc.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Boost | Boost.JSON | 1.75.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.83 | 1.83.0-5ubuntu5.1 | USN-9346-1 |
| Ubuntu 26.04 LTS | boost1.88 +1 | No fix yet | — |
| Ubuntu 24.04 LTS | boost1.83 | 1.83.0-2.1ubuntu3.3 | USN-9346-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | ceph +2 | No fix yet | — |
Advisories 1
- USN-9346-1 boost1.83 vulnerability Ubuntu Security Notices (USN) · Dec 3, 2026
References
- https://github.com/boostorg/json/pull/1227 issue-tracking patch
- https://github.com/boostorg/json/blob/boost-1.92.0/include/boost/json/impl/monotonic_resource.ipp#L98-L140 technical-description
- VulnCheck Advisory: Boost.JSON 1.75.0 through 1.92.0 Denial of Service via monotonic_resource::release() third-party-advisory