Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.1
CVE-2026-124539: libjson-xs-perl can exhaust memory on malformed JSON
CVE-2026-124539 · published 19 days ago
Summary
Older versions of the libjson-xs-perl module (found in Debian and Canonical packages) keep a copy of a JSON key when the text is missing a colon, and that copy is never released. Over time, a program that processes many broken JSON messages can run out of memory. Upgrade the module to version 4.05 or newer to stop the leak.
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 before 4.05 for Perl leak the decoded key of an object rejected for a missing colon in decode_hv
JSON::XS versions before 4.05 for Perl leak the decoded key of an object rejected for a missing colon in decode_hv. Unless it is short plain ASCII, a quoted key is decoded into a new scalar. Nothing frees that scalar when the object is rejected for a missing ':' after the key. A process that keeps running after a failed decode retains one key per rejected document, with its size chosen by the sender. Repeated requests exhaust process memory.
References
- https://metacpan.org/release/MLEHMANN/JSON-XS-4.05/changes
- https://security-tracker.debian.org/tracker/CVE-2026-124539 Vendor Advisory
- https://ubuntu.com/security/CVE-2026-124539 Third Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2026-124539 Third Party Advisory
- https://lists.security.metacpan.org/cve-announce/msg/45150793/ Third Party Advisory
Internet-facing
14 days
Internal
60 days
- Not known to be exploited
- Can be exploited automatically
- Gives an attacker partial control
Severity
9.1
Critical
Type
CWE-401Memory Leak
Timeline
Published14 Nov 2026
Updated2 Dec 2026
First seen14 Nov 2026
Sources
CVE-2026-124539 · NVD
CVE-2026-124539 · MITRE
DEBIAN-CVE-2026-124539 · OSV
UBUNTU-CVE-2026-124539 · OSV
Track software like this
Free during beta