
CVE catalog
CVE-2026-54696
Ruby JSON is a JSON implementation for Ruby. Versions 2.9.0 through 2.19.8 are vulnerable to heap buffer overflow when the JSON generator is provided with an oversized streamed object. When streaming
- Severity
- Low · CVSS 3.7
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.38% · Oct 25, 2026
Ruby JSON is a JSON implementation for Ruby. Versions 2.9.0 through 2.19.8 are vulnerable to heap buffer overflow when the JSON generator is provided with an oversized streamed object. When streaming to an IO JSON.dump(obj, io) and JSON::State#generate(obj, io) can write past the internal JSON generator buffer when a streamed object contains an attacker-controlled string near 16 KB. Exploitation would result in a reliable process crash/denial of service. This issue has been fixed in version 2.19.9.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | ruby-json | sid | 3.1.0+dfsg-1 | fixed |
| Debian | ruby-json | forky | 3.1.0+dfsg-1 | fixed |
| Debian | ruby-json | trixie | 2.9.1+dfsg-1 | vulnerable |
| Debian | ruby-json | bookworm | 2.6.3+dfsg-1 | not affected |
| Cpe | ruby-json | Not reported | Not reported | not affected |
| Rubygems | json | Not reported | 2.19.9 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | ruby-json | source | sid | 2.19.9+dfsg-1 | not yet assigned | Not reported | Not reported |
| Debian | ruby-json | source | forky | 2.19.9+dfsg-1 | not yet assigned | Not reported | Not reported |
| Debian | ruby-json | source | trixie | (unfixed) | not yet assigned | Not reported | Not reported |
| Debian | ruby-json | source | bookworm | Not affected | unimportant | Not reported | Not reported |
| Rubygems | json | rubygems | Not reported | 2.19.9 | Not reported | Not reported | Not reported |
Notes
[trixie] ruby-json: Minor issue
OpenFactory catalog packages
[Debian 13 (Trixie)]
[Debian 12 (Bookworm)]
- [ruby-json]Not affected
Details (2)
2.6.3+dfsg-1· amd64 · bookwormNot affected
nvd · ruby-json · debian · bookworm
2.6.3+dfsg-1· arm64 · bookwormNot affected
nvd · ruby-json · debian · bookworm
Observed:
References
- [https://github.com/advisories/GHSA-x2f5-4prf-w687]
- [https://github.com/ruby/json/releases/tag/v2.19.9]
- [https://github.com/ruby/json/security/advisories/GHSA-x2f5-4prf-w687]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-54696]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-54696]
- [https://security-tracker.debian.org/tracker/CVE-2026-54696]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-54696.json]
[Debian Security Tracker] · [FIRST EPSS] · [GitHub Advisory Database] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]