CVE Explorer
CVE-2026-54696
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
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 3 assertions
{"cweId":"CWE-787","description":"CWE-787: Out-of-bounds Write","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:2f3f46e48a46917a936cd7caffe7d957b67a67062fab50626b8896c397e596c7 · sha256:8f923fbcd1a9372b… · /containers/cna/problemTypes/2/descriptions/0
{"cweId":"CWE-122","description":"CWE-122: Heap-based Buffer Overflow","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:2f3f46e48a46917a936cd7caffe7d957b67a67062fab50626b8896c397e596c7 · sha256:8f923fbcd1a9372b… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-131","description":"CWE-131: Incorrect Calculation of Buffer Size","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:2f3f46e48a46917a936cd7caffe7d957b67a67062fab50626b8896c397e596c7 · sha256:8f923fbcd1a9372b… · /containers/cna/problemTypes/1/descriptions/0
Affected products and versions
1 source assertion{"product":"json","vendor":"ruby","versions":[{"status":"affected","version":">= 2.9.0, < 2.19.9"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:2f3f46e48a46917a936cd7caffe7d957b67a67062fab50626b8896c397e596c7 · sha256:8f923fbcd1a9372b… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":3.7,"baseSeverity":"LOW","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:2f3f46e48a46917a936cd7caffe7d957b67a67062fab50626b8896c397e596c7 · sha256:8f923fbcd1a9372b… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
3 source assertions{"cweId":"CWE-787","description":"CWE-787: Out-of-bounds Write","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:2f3f46e48a46917a936cd7caffe7d957b67a67062fab50626b8896c397e596c7 · sha256:8f923fbcd1a9372b… · /containers/cna/problemTypes/2/descriptions/0
{"cweId":"CWE-122","description":"CWE-122: Heap-based Buffer Overflow","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:2f3f46e48a46917a936cd7caffe7d957b67a67062fab50626b8896c397e596c7 · sha256:8f923fbcd1a9372b… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-131","description":"CWE-131: Incorrect Calculation of Buffer Size","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:2f3f46e48a46917a936cd7caffe7d957b67a67062fab50626b8896c397e596c7 · sha256:8f923fbcd1a9372b… · /containers/cna/problemTypes/1/descriptions/0
Source references
3 source assertions{"name":"https://github.com/ruby/json/releases/tag/v2.19.9","tags":["x_refsource_MISC"],"url":"https://github.com/ruby/json/releases/tag/v2.19.9"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:2f3f46e48a46917a936cd7caffe7d957b67a67062fab50626b8896c397e596c7 · sha256:8f923fbcd1a9372b… · /containers/cna/references/1
{"name":"https://github.com/ruby/json/security/advisories/GHSA-x2f5-4prf-w687","tags":["x_refsource_CONFIRM"],"url":"https://github.com/ruby/json/security/advisories/GHSA-x2f5-4prf-w687"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:2f3f46e48a46917a936cd7caffe7d957b67a67062fab50626b8896c397e596c7 · sha256:8f923fbcd1a9372b… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/ruby/json/security/advisories/GHSA-x2f5-4prf-w687"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:2f3f46e48a46917a936cd7caffe7d957b67a67062fab50626b8896c397e596c7 · sha256:8f923fbcd1a9372b… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.