Skip to main content
VulnerabilityPublished

CVE-2026-124540: JSON-XS (Perl module) · Uncontrolled Recursion

Affects JSON-XS (Perl module)Source CVE Database V5

0
Compare

Not known to be exploited : upgrade to 4.05 soon.

Data as of 14 Nov 2026, 12:17 UTC

Severity
High

Rated High by Threat Radar's AI analysis · CVSS not yet scored by NVD

Thin evidence

One scorer or none
Patch
Available – fixed in 4.05

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 14 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 14 Nov 2026.

What to do

Upgrade JSON-XS (Perl module) to 4.05.

Affected software

ProductAffectedFixed in
JSON-XSAffected
  • <4.05
Fixed in
  • 4.05
CPANJSON-XSpkg:cpan/JSON-XSOther threatsAffected
  • <4.05
Fixed in
  • 4.05

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade JSON::XS to version 4.05 or later, where this vulnerability is fixed. No other mitigations are effective because the recursion is uncontrolled and not limited by max_depth. Since a fixed version is available, applying the official patch is the recommended remediation.

Description

CVE-2026-124540 is a vulnerability in JSON::XS for Perl before version 4.05 that allows stack exhaustion via uncontrolled recursion when decoding nested tagged values with allow_tags enabled. This leads to an uncatchable segmentation fault caused by C stack exhaustion regardless of the max_depth setting.

References

Community reviews

Loading reviews…