High severity · published Mar 12, 2025
CVE-2025-27788
Ruby JSON Parser has Out-of-bounds Read
7.5
CVSS
0.7%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.7% · higher than 54% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
JS
json · ruby
>= 2.10.0, < 2.10.2 · source: vendor
JO
Javascript Object Notation · Ruby-lang
2.10.0 before 2.10.2 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-27788
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-27788
Patch
https://github.com/ruby/json/commit/c56db31f800d5d508389793e69682f99749dbadf
Release Notes
https://github.com/ruby/json/releases/tag/v2.10.2
Third Party Advisory
https://github.com/ruby/json/security/advisories/GHSA-9m3q-rhmv-5q44
More from json
9.1
CVE-2026-33210
Ruby JSON has a format string injection vulnerability
8.7
CVE-2026-71847
Ruby JSON: JSON::ResumableParser#partial_value dereferences a freed input buffer and crashes on truncated duplicate-key streams
3.7
CVE-2026-54696
Ruby JSON: JSON generator heap buffer overflow when streaming to an IO
