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
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: total
- Technology
- UbuntuDebian
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.
Upgrade path
8 packages: 2 fixed, 6 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/libjson-xs-perl(Debian 12) | = 4.030-2; = 4.030-3; = 4.040-1; = 4.040-1~deb12u1 +3 more | No fix listed | No fix yet |
| debian/libjson-xs-perl(Debian 13) | = 4.030-2; = 4.030-3; = 4.040-1; = 4.040-1~deb12u1 +3 more | No fix listed | No fix yet |
| ubuntu/libjson-xs-perl(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/libjson-xs-perl(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/libjson-xs-perl(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/libjson-xs-perl(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| cpan JSON-XS | >= 3.04, < 4.05 | 4.05 | Fixed |
| debian/libjson-xs-perl(Debian 14) | < 4.050-1; = 4.030-2; = 4.030-3; = 4.040-1 +2 more | 4.050-1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| cpan JSON-XS | >= 3.04, < 4.05 | 4.05 |
| ubuntu/libjson-xs-perl(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/libjson-xs-perl(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/libjson-xs-perl(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/libjson-xs-perl(Ubuntu:26.10) | All versions | No fix listed |
| debian/libjson-xs-perl(Debian:12) | All versions | No fix listed |
| debian/libjson-xs-perl(Debian:12) | = 4.030-2 | No fix listed |
| debian/libjson-xs-perl(Debian:12) | = 4.030-3 | No fix listed |
| debian/libjson-xs-perl(Debian:12) | = 4.040-1 | No fix listed |
| debian/libjson-xs-perl(Debian:12) | = 4.040-1~deb12u1 | No fix listed |
| debian/libjson-xs-perl(Debian:12) | = 4.040-1~deb13u1 | No fix listed |
| debian/libjson-xs-perl(Debian:12) | = 4.050-1 | No fix listed |
| debian/libjson-xs-perl(Debian:13) | All versions | No fix listed |
| debian/libjson-xs-perl(Debian:13) | = 4.030-2 | No fix listed |
| debian/libjson-xs-perl(Debian:13) | = 4.030-3 | No fix listed |
| debian/libjson-xs-perl(Debian:13) | = 4.040-1 | No fix listed |
| debian/libjson-xs-perl(Debian:13) | = 4.040-1~deb12u1 | No fix listed |
| debian/libjson-xs-perl(Debian:13) | = 4.040-1~deb13u1 | No fix listed |
| debian/libjson-xs-perl(Debian:13) | = 4.050-1 | No fix listed |
| debian/libjson-xs-perl(Debian:14) | < 4.050-1 | 4.050-1 |
| debian/libjson-xs-perl(Debian:14) | = 4.030-2 | No fix listed |
| debian/libjson-xs-perl(Debian:14) | = 4.030-3 | No fix listed |
| debian/libjson-xs-perl(Debian:14) | = 4.040-1 | No fix listed |
| debian/libjson-xs-perl(Debian:14) | = 4.040-1~deb12u1 | No fix listed |
| debian/libjson-xs-perl(Debian:14) | = 4.040-1~deb13u1 | No fix listed |
References
- metacpan.org release-notes
- Debian Security Tracker CVE-2026-129114 vendor-advisory
- bugs.debian.org issue-tracking
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- ENISA EUVD EUVD-2026-125915 third-party-advisory