Advisory

UBUNTU-CVE-2026-54696

Also known as: CVE-2026-54696

Summary

The record has no summary.

Details

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.

Severity

Low Basis: CVSS v3 score 3.7, vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L

Dates

Published
2026-06-30 23:17 UTC
Modified
2026-10-17 13:00 UTC

Affected packages and fixes

21 affected packages; affected: introduced 0
PackageSystemFix
ruby-jsonDebian packages (deb) · Ubuntu 14.04No fixed version is listed.
jrubyDebian packages (deb) · Ubuntu 16.04No fixed version is listed.
ruby-jsonDebian packages (deb) · Ubuntu 16.04No fixed version is listed.
jrubyDebian packages (deb) · Ubuntu 18.04No fixed version is listed.
ruby-jsonDebian packages (deb) · Ubuntu 18.04No fixed version is listed.
jrubyDebian packages (deb) · Ubuntu 20.04No fixed version is listed.
ruby-jsonDebian packages (deb) · Ubuntu 20.04No fixed version is listed.
ruby-jsonDebian packages (deb) · Ubuntu 22.04No fixed version is listed.
ruby3.0Debian packages (deb) · Ubuntu 22.04No fixed version is listed.
jrubyDebian packages (deb) · Ubuntu 24.04No fixed version is listed.
ruby-jsonDebian packages (deb) · Ubuntu 24.04No fixed version is listed.
ruby3.2Debian packages (deb) · Ubuntu 24.04No fixed version is listed.
jrubyDebian packages (deb) · Ubuntu 25.10No fixed version is listed.
ruby-jsonDebian packages (deb) · Ubuntu 25.10No fixed version is listed.
ruby3.3Debian packages (deb) · Ubuntu 25.10No fixed version is listed.
jrubyDebian packages (deb) · Ubuntu 26.10No fixed version is listed.
ruby-jsonDebian packages (deb) · Ubuntu 26.10No fixed version is listed.
ruby3.3Debian packages (deb) · Ubuntu 26.10No fixed version is listed.
jrubyDebian packages (deb) · Ubuntu 26.04No fixed version is listed.
ruby-jsonDebian packages (deb) · Ubuntu 26.04No fixed version is listed.
ruby3.3Debian packages (deb) · Ubuntu 26.04No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences