Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.8
CVE-2026-129114: JSON::XS Perl library may write past memory when parsing streams
CVE-2026-129114 · published 19 days ago
Summary
The JSON::XS module used in Debian and Ubuntu (the libjson-xs-perl package) can write one byte beyond its allocated memory when it processes data in small pieces. This memory overrun could lead to crashes or allow an attacker who controls the data stream to affect the program. Upgrade the package to version 4.05 or later, or apply the vendor's security update, to eliminate the risk.
What to do
- Update debian libjson-xs-perl to version 4.050-1.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| Debian:12 | debian | libjson-xs-perl | All versions |
| Ubuntu:14.04:LTS | canonical | libjson-xs-perl | All versions |
| Debian:14 | debian | libjson-xs-perl |
< 4.050-1 Fix: upgrade to 4.050-1
|
Original advisory text
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
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.
References
- https://metacpan.org/release/MLEHMANN/JSON-XS-4.05/changes
- https://security-tracker.debian.org/tracker/CVE-2026-129114 Vendor Advisory
- https://ubuntu.com/security/CVE-2026-129114 Third Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2026-129114 Third Party Advisory
- https://lists.security.metacpan.org/cve-announce/msg/45150806/ Third Party Advisory
Internet-facing
3 days
Internal
60 days
- Not known to be exploited
- Can be exploited automatically
- Gives an attacker full control
Severity
9.8
Critical
Type
CWE-122Heap-based Buffer Overflow
CWE-193Off-by-one Error
Timeline
Published14 Nov 2026
Updated2 Dec 2026
First seen14 Nov 2026
Sources
CVE-2026-129114 · NVD
CVE-2026-129114 · MITRE
DEBIAN-CVE-2026-129114 · OSV
UBUNTU-CVE-2026-129114 · OSV
Track software like this
Free during beta