Skip to content
NewA calmer, faster ZeroHour

JSON::XS before 4.05 has seven CVEs, including memory exhaustion

Original title: JSON-XS versions before 4.05 for Perl (7 CVEs)

oss-security ()
AI summary · x-ai/grok-4.7Summaries by Vani AI

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.

Key facts
  • 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.
Security assessment · AI, from the article

Impact: memory exhaustion, key leak, or stack exhaustion

ProductAffected
JSON::XSbefore 4.05
What to do
  1. 1.Update JSON::XS to 4.05 or later.
Analyze CVE-2026-124536 with Vani AIImpact, affected versions, exploitation, mitigations and detection

Vulnerabilities mentioned

All
CVEVulnerabilityCVSSEPSSSignalsPublished
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.

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.