CVE-2026-54696
Ruby JSON: JSON generator heap buffer overflow when streaming to an IO
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.412% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:28:52.703Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 3.7 · published by GitHub_MCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Assessment source · checked 2026-11-19T12:58:50.052Z
CVSS 3.1 · 3.7 · published by Ubuntu SecurityCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Assessment source · checked 2026-11-19T16:51:15.778Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:28:52.703Z | CISA KEV |
| cvss | verified | 2026-11-19T12:58:50.052Z | CVE Program |
| epss | verified | 2026-11-19T16:04:52.292Z | FIRST EPSS |
| patches | unknown | unknown | unknown |
| affected | verified | 2026-11-19T12:58:50.052Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:58:50.052Z | CVE Program |
Affected versions and configuration
ruby json; default status: unknown: >= 2.9.0, < 2.19.9 [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
Ubuntu Security · ubuntu-package · full conditions
[
{
"name": "ruby3.2",
"debian": "https://tracker.debian.org/pkg/ruby3.2",
"source": "https://ubuntu.com/security/cve?package=ruby3.2",
"ubuntu": "https://packages.ubuntu.com/search?suite=all§ion=all&arch=any&searchon=sourcenames&keywords=ruby3.2",
"statuses": [
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "jammy"
},
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "noble"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "questing"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "resolute"
},
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "upstream"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "stonking"
}
]
}
]Archived source JSONUbuntu Security · ubuntu-package · full conditions
[
{
"name": "ruby3.3",
"debian": "https://tracker.debian.org/pkg/ruby3.3",
"source": "https://ubuntu.com/security/cve?package=ruby3.3",
"ubuntu": "https://packages.ubuntu.com/search?suite=all§ion=all&arch=any&searchon=sourcenames&keywords=ruby3.3",
"statuses": [
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "jammy"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "noble"
},
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "resolute"
},
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "upstream"
},
{
"pocket": "security",
"status": "ignored",
"component": null,
"description": "end of life, was needs-triage",
"release_codename": "questing"
},
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "stonking"
}
]
}
]Archived source JSONCVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "ruby",
"product": "json",
"versions": [
{
"status": "affected",
"version": ">= 2.9.0, < 2.19.9"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-54696",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-07-01T13:20:35.390078Z"
}
}
}
],
"references": [
{
"url": "https://github.com/ruby/json/security/advisories/GHSA-x2f5-4prf-w687",
"tags": [
"exploit"
]
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-07-01T13:20:56.931Z"
}
}
]
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
No correction has been verified in the connected records. This does not mean the system is secure or that no vendor correction exists.
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- Ubuntu SecurityConsulted: 2026-11-19T16:51:16.210ZArchived source JSON
Source publication: 2026-06-30T23:17:00.000Z
Source modification: 2026-07-01T23:25:47.339ZDocument fingerprint
7b592a8e6a860bfcc2ec2876e0cddc5d4ebbc4429d437f85d26b08ae6ec6d0e8 - Ubuntu SecurityConsulted: 2026-11-19T16:51:15.778ZArchived source JSON
Source publication: 2026-06-30T23:17:00.000Z
Source modification: 2026-07-01T23:25:47.339ZDocument fingerprint
609ca4cb09564e36b04e460a7c525c3173ee7bd2c9df3e8f4dd78500ef7ce476 - CVE ProgramConsulted: 2026-11-19T12:58:50.052ZArchived source JSON
Source publication: 2026-06-30T22:05:48.347Z
Source modification: 2026-07-01T13:20:56.931ZDocument fingerprint
d9531ae13a024b9b539b12f3e833da45ee9be8bf2c9093e790bf068a332759cc - CISA KEVConsulted: 2026-11-19T17:28:52.703ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:52.292ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
0d84b03fefd8b98c35ff48b41c93fc695fb5d5ea3135764678445722abcd97c6
Official status history
- UNKNOWN → PUBLISHED · · evidence