CVE-2026-124540: Libjson xs perl · JSON::XS versions before 4.05 for Perl allow stack exhaustion via nested tagged
Affects libjson-xs-perlSource GCVE Database
Not known to be exploited · CVSS 7.5 High · fixed in 4.05 : patch libjson-xs-perl soon.
Data as of 18 Nov 2026, 16:51 UTC
Thin evidence
One scorer or none| CISA-ADP | CVSS 3.1 | 7.5 |
|---|
- Patch
- Available – fixed in 4.05
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 14 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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 17 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10libjson-xs-perlpkg:deb/ubuntu/libjson-xs-perl?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSlibjson-xs-perlpkg:deb/ubuntu/libjson-xs-perl?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlibjson-xs-perlpkg:deb/ubuntu/libjson-xs-perl?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlibjson-xs-perlpkg:deb/ubuntu/libjson-xs-perl?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSlibjson-xs-perlpkg:deb/ubuntu/libjson-xs-perl?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Ubuntu 18.04 LTSlibjson-xs-perlpkg:deb/ubuntu/libjson-xs-perl?arch=source&distro=bionicOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in JSON::XS version 4.05 and later. Users should upgrade to version 4.05 or newer to remediate this vulnerability. No other mitigations are indicated.
Description
JSON::XS versions before 4.05 for Perl contain a vulnerability that allows stack exhaustion via nested tagged values when the allow_tags feature is enabled in decode_tag. This occurs because nested tagged values initiated by '(' are decoded recursively without counting against the max_depth limit, leading to unbounded recursion. An attacker can cause a segmentation fault that cannot be caught, resulting in a denial of service.