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

[CVE catalog]

Severity
Low · CVSS 3.7CVSS: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.

DistributionPackageReleaseVersionStatus
Debianruby-jsonsid3.1.0+dfsg-1fixed
Debianruby-jsonforky3.1.0+dfsg-1fixed
Debianruby-jsontrixie2.9.1+dfsg-1vulnerable
Debianruby-jsonbookworm2.6.3+dfsg-1not affected
Cperuby-jsonNot reportedNot reportednot affected
RubygemsjsonNot reported2.19.9fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianruby-jsonsourcesid2.19.9+dfsg-1not yet assignedNot reportedNot reported
Debianruby-jsonsourceforky2.19.9+dfsg-1not yet assignedNot reportedNot reported
Debianruby-jsonsourcetrixie(unfixed)not yet assignedNot reportedNot reported
Debianruby-jsonsourcebookwormNot affectedunimportantNot reportedNot reported
RubygemsjsonrubygemsNot reported2.19.9Not reportedNot reportedNot reported

Notes

[trixie] ruby-json: Minor issue

OpenFactory catalog packages

[Debian 13 (Trixie)]

  • [ruby-json]Affected

    Source package: [ruby-json]

    Details (2)
    • 2.9.1+dfsg-1+b1 · amd64 · trixie

      Affected

      nvd · ruby-json · debian · 13

    • 2.9.1+dfsg-1+b1 · arm64 · trixie

      Affected

      nvd · ruby-json · debian · 13

[Debian 12 (Bookworm)]

  • [ruby-json]Not affected
    Details (2)
    • 2.6.3+dfsg-1 · amd64 · bookworm

      Not affected

      nvd · ruby-json · debian · bookworm

    • 2.6.3+dfsg-1 · arm64 · bookworm

      Not affected

      nvd · ruby-json · debian · bookworm

Observed:

References