# CVE-2026-129114: 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

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.44%, higher than 39% of CVEs (2026-12-01)
- Published: 2026-11-14T11:53:52.483Z
- Modified: 2026-11-24T19:10:01.980Z
- Weaknesses: CWE-122, CWE-193
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: CPANSec

## 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.

The 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.

A 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.

(As written by CVE List.)

## Affected

- JSON-XS: from 3.04 before 4.05

## References

- <https://metacpan.org/release/MLEHMANN/JSON-XS-4.05/changes> (release-notes)

## Sources

- CVE List: [CVE-2026-129114](https://www.cve.org/CVERecord?id=CVE-2026-129114), CVE Terms of Use, modified 2026-11-17
- NVD: [CVE-2026-129114](https://nvd.nist.gov/vuln/detail/CVE-2026-129114), Public domain, modified 2026-11-24

---

Page: https://cve.day/CVE-2026-129114 · Whole record: https://cve.day/CVE-2026-129114.json · Rebuilt by cve.day 2026-11-25T22:59:50.806Z
