Skip to content

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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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