CVE-2025-27788

NameCVE-2025-27788
DescriptionJSON is a JSON implementation for Ruby. Starting in version 2.10.0 and prior to version 2.10.2, a specially crafted document could cause an out of bound read, most likely resulting in a crash. Versions prior to 2.10.0 are not vulnerable. Version 2.10.2 fixes the problem. No known workarounds are available.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ruby-json (PTS)bullseye2.3.0+dfsg-1fixed
bookworm2.6.3+dfsg-1fixed
sid, trixie2.9.1+dfsg-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ruby-jsonsource(unstable)(not affected)

Notes

- ruby-json <not-affected> (Vulnerable code not present)
https://github.com/ruby/json/security/advisories/GHSA-9m3q-rhmv-5q44
Introduced by: https://github.com/ruby/json/commit/5e6cfcf7242a83e79fbc83cb30b3b89373e98b19 (v2.10.0)
Fixed by: https://github.com/ruby/json/commit/cf242d89a0523bacd5238a59c77b33411b8c3208 (v2.10.2)

Search for package or bug name: Reporting problems