CVE-2025-27788 json
Ruby JSON Parser has Out-of-bounds Read
published 2025-03-12 19 mo ago modified 2026-09-10 1 mo ago also EUVD-2025-7805 , GHSA-9m3q-rhmv-5q44
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 54%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- rubygems json 2.10.2
- ruby-lang javascript_object_notation 2.10.2
- ruby-lang json 2.10.2
- rubygems json_gem 2.10.2
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-27788 updated cvss 7.5
json: Ruby JSON Parser has Out-of-bounds Read
-
Red Hat 3scale API Management Platform 2 3scale-amp-zync-container Red Hat Enterprise Linux 8 pcs, pcs-snmp Red Hat Enterprise Linux AI (RHEL AI) jsonnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 19 mo ago
Exploit prediction
0.72% chance of exploitation in the next 30 days, higher than 54% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | json | >=2.10.0, <2.10.2 |
2.10.2 |
Affected products
- ruby json
Classification
- Weakness
-
- CWE-125 Out-of-bounds Read
References
-
github.com
/ruby/json/commit/c56db31f800d5d508389793e69682f99749dbadf
web, patch
-
github.com
/ruby/json/security/advisories/GHSA-9m3q-rhmv-5q44
web, third-party-advisory
-
github.com
/ruby/json/releases/tag/v2.10.2
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2025-27788
advisory
-
github.com
/ruby/json
package
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/json/CVE-2025-27788.yml
web
Sources
- CVE List CVE-2025-27788
- GitHub Advisory GHSA-9m3q-rhmv-5q44
- NVD CVE-2025-27788
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.