CVE-2025-27788 Ruby JSON Parser has Out-of-bounds Read
HighCVSS 7.5
EPSS 0.72%
PoC
- Published
- Updated
- Exploit status
- Proof-of-concept only
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- Debian
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ruby-lang javascript object notation | >= 2.10.0, < 2.10.2 | 2.10.2 | Fixed |
| rubygems json(RubyGems) | = 2.10.0; = 2.10.1; >= 2.10.0, < 2.10.2; >= 2.10.0, <= 2.10.1 | 2.10.2 | Fixed |
| ruby json | = >= 2.10.0, < 2.10.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| rubygems json(RubyGems) | >= 2.10.0, < 2.10.2 | 2.10.2 |
| rubygems json(RubyGems) | = 2.10.0 | No fix listed |
| rubygems json(RubyGems) | = 2.10.1 | No fix listed |
| rubygems json(RubyGems) | >= 2.10.0, <= 2.10.1 | No fix listed |
| ruby json | = >= 2.10.0, < 2.10.2 | No fix listed |
| ruby-lang javascript object notation | >= 2.10.0, < 2.10.2 | 2.10.2 |
References
- https://github.com/ruby/json/security/advisories/GHSA-9m3q-rhmv-5q44 third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/ruby/json/commit/c56db31f800d5d508389793e69682f99749dbadf patch
- github.com product
- https://github.com/ruby/json/releases/tag/v2.10.2 release-notes
- github.com exploit
- github.com
- Debian Security Tracker CVE-2025-27788 vendor-advisory