CVE-2026-54696

LOW CVSS 3.1: 3.7 EPSS 0.41%
Updated Oct 25, 2026
Ruby
Parameter Value
CVSS 3.7 (LOW)
Affected Versions 2.9.0 — 2.19.8
Fixed In 2.19.9
Type CWE-122 (Heap-based Buffer Overflow), CWE-787 (Out-of-bounds Write), CWE-131
Vendor Ruby
Public PoC No

Ruby JSON is a JSON implementation for Ruby. Versions 2.9.0 through 2.19.8 are vulnerable to heap buffer overflow when the JSON generator is provided with an oversized streamed object. When streaming to an IO JSON.dump(obj, io) and JSON::State#generate(obj, io) can write past the internal JSON generator buffer when a streamed object contains an attacker-controlled string near 16 KB.

Exploitation would result in a reliable process crash/denial of service. This issue has been fixed in version 2.19.9.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
High
Difficult to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
Low
Partial disruption

CVSS Vector v3.1