{"api_version":"1","generated_at":"2026-11-14T23:50:26+00:00","cve":"CVE-2026-129114","urls":{"html":"https://cve.report/CVE-2026-129114","api":"https://cve.report/api/cve/CVE-2026-129114.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-129114","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-129114"},"summary":{"title":"JSON::XS versions from 3.04 before 4.05 for Perl write one byte past a heap buffer when appending a one-byte chunk in incr_parse","description":"JSON::XS versions from 3.04 before 4.05 for Perl write one byte past a heap buffer when appending a one-byte chunk in incr_parse.\n\nThe incremental buffer grows to one and a half times the length it must hold, with no room reserved for the terminating NUL. For an empty buffer and a one-byte chunk that request is one byte, which a buffer whose front was removed by earlier decodes can already have, so nothing is reallocated and the NUL lands one byte past the allocation.\n\nA peer streaming data to an incr_parse consumer, choosing how the input is split into reads, can cause a one-byte heap out-of-bounds write.","state":"PUBLISHED","assigner":"CPANSec","published_at":"2026-11-14 12:17:44","updated_at":"2026-11-14 12:17:44"},"problem_types":["CWE-122","CWE-193","CWE-193 CWE-193 Off-by-one Error","CWE-122 CWE-122 Heap-based Buffer Overflow"],"metrics":[],"references":[{"url":"https://metacpan.org/release/MLEHMANN/JSON-XS-4.05/changes","name":"https://metacpan.org/release/MLEHMANN/JSON-XS-4.05/changes","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-129114","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129114","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[{"source":"CNA","time":"2026-11-13T00:00:00.000Z","lang":"en","value":"Version 4.05 released with fix."}],"solutions":[{"source":"CNA","title":"","value":"Upgrade to JSON-XS 4.05 or later.","time":"","lang":"en"}],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"Albert Gierlach (rivit)","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"collectionURL":"https://cpan.org/modules","defaultStatus":"unaffected","modules":["JSON::XS"],"packageName":"JSON-XS","packageURL":"pkg:cpan/JSON-XS","programFiles":["XS.xs"],"programRoutines":[{"name":"JSON::XS::incr_parse"}],"repo":"https://cvs.schmorp.de/JSON-XS/","versions":[{"lessThan":"4.05","status":"affected","version":"3.04","versionType":"custom"}]}],"credits":[{"lang":"en","type":"reporter","value":"Albert Gierlach (rivit)"}],"descriptions":[{"lang":"en","value":"JSON::XS versions from 3.04 before 4.05 for Perl write one byte past a heap buffer when appending a one-byte chunk in incr_parse.\n\nThe incremental buffer grows to one and a half times the length it must hold, with no room reserved for the terminating NUL. For an empty buffer and a one-byte chunk that request is one byte, which a buffer whose front was removed by earlier decodes can already have, so nothing is reallocated and the NUL lands one byte past the allocation.\n\nA peer streaming data to an incr_parse consumer, choosing how the input is split into reads, can cause a one-byte heap out-of-bounds write."}],"problemTypes":[{"descriptions":[{"cweId":"CWE-193","description":"CWE-193 Off-by-one Error","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-122","description":"CWE-122 Heap-based Buffer Overflow","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-11-14T11:53:52.483Z","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","shortName":"CPANSec"},"references":[{"tags":["release-notes"],"url":"https://metacpan.org/release/MLEHMANN/JSON-XS-4.05/changes"}],"solutions":[{"lang":"en","value":"Upgrade to JSON-XS 4.05 or later."}],"source":{"discovery":"UNKNOWN"},"timeline":[{"lang":"en","time":"2026-11-13T00:00:00.000Z","value":"Version 4.05 released with fix."}],"title":"JSON::XS versions from 3.04 before 4.05 for Perl write one byte past a heap buffer when appending a one-byte chunk in incr_parse","x_generator":{"engine":"cpansec-cna-tool 0.1"}}},"cveMetadata":{"assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","assignerShortName":"CPANSec","cveId":"CVE-2026-129114","datePublished":"2026-11-14T11:53:52.483Z","dateReserved":"2026-11-13T15:54:30.291Z","dateUpdated":"2026-11-14T11:53:52.483Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-14 12:17:44","lastModifiedDate":"2026-11-14 12:17:44","problem_types":["CWE-122","CWE-193","CWE-193 CWE-193 Off-by-one Error","CWE-122 CWE-122 Heap-based Buffer Overflow"],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"129114","Ordinal":"1","Title":"JSON::XS versions from 3.04 before 4.05 for Perl write one byte ","CVE":"CVE-2026-129114","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"129114","Ordinal":"1","NoteData":"JSON::XS versions from 3.04 before 4.05 for Perl write one byte past a heap buffer when appending a one-byte chunk in incr_parse.\n\nThe incremental buffer grows to one and a half times the length it must hold, with no room reserved for the terminating NUL. For an empty buffer and a one-byte chunk that request is one byte, which a buffer whose front was removed by earlier decodes can already have, so nothing is reallocated and the NUL lands one byte past the allocation.\n\nA peer streaming data to an incr_parse consumer, choosing how the input is split into reads, can cause a one-byte heap out-of-bounds write.","Type":"Description","Title":"JSON::XS versions from 3.04 before 4.05 for Perl write one byte "}]}}}