| Name | CVE-2025-27788 |
| Description | JSON 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| ruby-json (PTS) | bullseye | 2.3.0+dfsg-1 | fixed |
| bookworm | 2.6.3+dfsg-1 | fixed | |
| trixie | 2.9.1+dfsg-1 | fixed | |
| forky | 2.15.2+dfsg-1 | fixed | |
| sid | 2.18.1+dfsg-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| ruby-json | source | (unstable) | (not affected) |
- 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)