JSON::XS before 4.05 has seven CVEs, including memory exhaustion
Original title: JSON-XS versions before 4.05 for Perl (7 CVEs)
Named issues include a decoded-key leak, stack exhaustion, and incremental-parse memory exhaustion.
Robert Rothenberg reported seven CVEs in JSON::XS versions before 4.05 for Perl. The excerpt names memory exhaustion in incr_parse, a decoded-key leak in decode_hv, and stack exhaustion in decode_tag. Four of the seven identifiers are not included in the visible text.
Unconfirmed: Four of the seven CVEs are not named in the excerpt.
- CVE-2026-124536 buffers input past max_size after a NUL byte.
- CVE-2026-124539 leaks a key from an object missing a colon.
- CVE-2026-124540 exhausts the stack via nested tagged values.
- The notice says seven CVEs, but only three are described.
Impact: memory exhaustion, key leak, or stack exhaustion
| Product | Affected |
|---|---|
| JSON::XS | before 4.05 |
- 1.Update JSON::XS to 4.05 or later.
- Products
- JSON::XS
Vulnerabilities mentioned
All| CVE | Vulnerability | CVSS | EPSS | Signals | Published |
|---|---|---|---|---|---|
| CVE-2026-124536 | Memory exhaustion in JSON::XS incr_parse before 4.05 | — | — | ||
| CVE-2026-124539 | Memory leak in JSON::XS before 4.05 on rejected keys | — | — | ||
| CVE-2026-124540 | Stack exhaustion in JSON::XS before 4.05 with allow_tags | — | — |
From the original article
Posted by Robert Rothenberg on Nov 14 CVE-2026-124536 JSON::XS versions before 4. 05 for Perl allow memory exhaustion by buffering incremental input past max_size after a NUL byte in incr_parse CVE-2026-124539 JSON::XS versions before 4. 05 for Perl leak the decoded key of an object rejected for a missing colon in decode_hv CVE-2026-124540 JSON::XS versions before 4.
seclists.org
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.