{"api_version":"1","generated_at":"2026-12-01T21:36:31+00:00","cve":"CVE-2026-141523","urls":{"html":"https://cve.report/CVE-2026-141523","api":"https://cve.report/api/cve/CVE-2026-141523.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-141523","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-141523"},"summary":{"title":"Ruby JSON: Out of Bound Write in parser when `allow_control_characters: true` is enabled","description":"Ruby JSON is a JSON implementation for Ruby. From 2.18.0 until 2.18.2 and 2.19.3, JSON.parse can perform an out-of-bounds write when allow_control_characters is enabled and attacker-controlled invalid JSON contains sufficient padding before a backslash immediately followed by an ASCII control character. This malformed escape sequence can defeat the parser's bounds checks, potentially corrupting heap memory and more likely crashing the Ruby VM, which can cause denial of service in applications that parse untrusted input with the affected option. This issue is fixed in versions 2.18.2 and 2.19.3.","state":"PUBLISHED","assigner":"GitHub_M","published_at":"2026-12-01 21:17:11","updated_at":"2026-12-01 21:17:11"},"problem_types":["CWE-787","CWE-787 CWE-787: Out-of-bounds Write"],"metrics":[{"version":"3.1","source":"security-advisories@github.com","type":"Secondary","score":"6.5","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H","baseScore":6.5,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"6.5","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H","data":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H","version":"3.1"}}],"references":[{"url":"https://github.com/ruby/json/security/advisories/GHSA-cjpr-jw2g-fw99","name":"https://github.com/ruby/json/security/advisories/GHSA-cjpr-jw2g-fw99","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/ruby/json/commit/dcfbbcd36f240c18c3b89e5399105715f70162e3","name":"https://github.com/ruby/json/commit/dcfbbcd36f240c18c3b89e5399105715f70162e3","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/ruby/json/releases/tag/v2.19.3","name":"https://github.com/ruby/json/releases/tag/v2.19.3","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/ruby/json/commit/75e2f6453a3bf79df086ac10e41dbc5b7f124a76","name":"https://github.com/ruby/json/commit/75e2f6453a3bf79df086ac10e41dbc5b7f124a76","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/ruby/json/releases/tag/v2.18.2","name":"https://github.com/ruby/json/releases/tag/v2.18.2","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-141523","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-141523","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"ruby","product":"json","version":"affected >= 2.18.0, < 2.18.2","platforms":[]},{"source":"CNA","vendor":"ruby","product":"json","version":"affected >= 2.19.0, < 2.19.3","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"product":"json","vendor":"ruby","versions":[{"status":"affected","version":">= 2.18.0, < 2.18.2"},{"status":"affected","version":">= 2.19.0, < 2.19.3"}]}],"descriptions":[{"lang":"en","value":"Ruby JSON is a JSON implementation for Ruby. From 2.18.0 until 2.18.2 and 2.19.3, JSON.parse can perform an out-of-bounds write when allow_control_characters is enabled and attacker-controlled invalid JSON contains sufficient padding before a backslash immediately followed by an ASCII control character. This malformed escape sequence can defeat the parser's bounds checks, potentially corrupting heap memory and more likely crashing the Ruby VM, which can cause denial of service in applications that parse untrusted input with the affected option. This issue is fixed in versions 2.18.2 and 2.19.3."}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-787","description":"CWE-787: Out-of-bounds Write","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-12-01T20:40:10.234Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M"},"references":[{"name":"https://github.com/ruby/json/security/advisories/GHSA-cjpr-jw2g-fw99","tags":["x_refsource_CONFIRM"],"url":"https://github.com/ruby/json/security/advisories/GHSA-cjpr-jw2g-fw99"},{"name":"https://github.com/ruby/json/commit/75e2f6453a3bf79df086ac10e41dbc5b7f124a76","tags":["x_refsource_MISC"],"url":"https://github.com/ruby/json/commit/75e2f6453a3bf79df086ac10e41dbc5b7f124a76"},{"name":"https://github.com/ruby/json/commit/dcfbbcd36f240c18c3b89e5399105715f70162e3","tags":["x_refsource_MISC"],"url":"https://github.com/ruby/json/commit/dcfbbcd36f240c18c3b89e5399105715f70162e3"},{"name":"https://github.com/ruby/json/releases/tag/v2.18.2","tags":["x_refsource_MISC"],"url":"https://github.com/ruby/json/releases/tag/v2.18.2"},{"name":"https://github.com/ruby/json/releases/tag/v2.19.3","tags":["x_refsource_MISC"],"url":"https://github.com/ruby/json/releases/tag/v2.19.3"}],"source":{"advisory":"GHSA-cjpr-jw2g-fw99","discovery":"UNKNOWN"},"title":"Ruby JSON: Out of Bound Write in parser when `allow_control_characters: true` is enabled"}},"cveMetadata":{"assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","cveId":"CVE-2026-141523","datePublished":"2026-12-01T20:40:10.234Z","dateReserved":"2026-12-01T20:30:34.483Z","dateUpdated":"2026-12-01T20:40:10.234Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-01 21:17:11","lastModifiedDate":"2026-12-01 21:17:11","problem_types":["CWE-787","CWE-787 CWE-787: Out-of-bounds Write"],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H","baseScore":6.5,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"HIGH"},"exploitabilityScore":2.2,"impactScore":4.2}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"141523","Ordinal":"1","Title":"Ruby JSON: Out of Bound Write in parser when `allow_control_char","CVE":"CVE-2026-141523","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"141523","Ordinal":"1","NoteData":"Ruby JSON is a JSON implementation for Ruby. From 2.18.0 until 2.18.2 and 2.19.3, JSON.parse can perform an out-of-bounds write when allow_control_characters is enabled and attacker-controlled invalid JSON contains sufficient padding before a backslash immediately followed by an ASCII control character. This malformed escape sequence can defeat the parser's bounds checks, potentially corrupting heap memory and more likely crashing the Ruby VM, which can cause denial of service in applications that parse untrusted input with the affected option. This issue is fixed in versions 2.18.2 and 2.19.3.","Type":"Description","Title":"Ruby JSON: Out of Bound Write in parser when `allow_control_char"}]}}}