CVE-2025-27788
published 2025-03-12CVE-2025-27788: 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…
PriorityP340high7.5CVSS 3.1
AVNACLPRNUINSUCNINAH
EPSS
0.66%
47.1th percentile
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.
Affected
4 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | ruby-json | — | — |
| joyent | json | >= 2.10.0 < 2.10.2 | 2.10.2 |
| ruby-lang | javascript_object_notation | >= 2.10.0 < 2.10.2 | 2.10.2 |
| ruby | json | — | — |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
osv7.5HIGH
vendor_debian7.5LOW
vendor_redhat7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
Out-of-bounds Read in Ruby JSON Parser
osv·2025-03-12
CVE-2025-27788 [HIGH] Out-of-bounds Read in Ruby JSON Parser
Out-of-bounds Read in Ruby JSON Parser
### Impact
A specially crafted document could cause an out of bound read, most likely resulting in a crash.
Versions 2.10.0 and 2.10.1 are impacted. Older versions are not.
### Patches
Version 2.10.2 fixes the problem.
### Workarounds
None.
GHSA
Out-of-bounds Read in Ruby JSON Parser
ghsa·2025-03-12
CVE-2025-27788 [HIGH] CWE-125 Out-of-bounds Read in Ruby JSON Parser
Out-of-bounds Read in Ruby JSON Parser
### Impact
A specially crafted document could cause an out of bound read, most likely resulting in a crash.
Versions 2.10.0 and 2.10.1 are impacted. Older versions are not.
### Patches
Version 2.10.2 fixes the problem.
### Workarounds
None.
OSV
CVE-2025-27788: JSON is a JSON implementation for Ruby
osv·2025-03-12·CVSS 7.5
CVE-2025-27788 [HIGH] CVE-2025-27788: JSON is a JSON implementation for Ruby
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.
Red Hat
json: Ruby JSON Parser has Out-of-bounds Read
vendor_redhat·2025-03-12·CVSS 7.5
CVE-2025-27788 [HIGH] CWE-125 json: Ruby JSON Parser has Out-of-bounds Read
json: Ruby JSON Parser has Out-of-bounds Read
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.
A flaw was found in the JSON gem for Ruby. This vulnerability causes an out-of-bounds read via a specially crafted document, possibly resulting in a crash.
Statement: No Red Hat products are vulnerable to this CVE, as it does not affect the versions or configurations of the products used in its distributions.
Mitigation: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Se
Debian
CVE-2025-27788: ruby-json - JSON is a JSON implementation for Ruby. Starting in version 2.10.0 and prior to ...
vendor_debian·2025·CVSS 7.5
CVE-2025-27788 [HIGH] CVE-2025-27788: ruby-json - JSON is a JSON implementation for Ruby. Starting in version 2.10.0 and prior to ...
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.
Scope: local
bookworm: resolved
bullseye: resolved
forky: resolved
sid: resolved
trixie: resolved
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2025-03-12
Published