Skip to main content
VulnerabilityPublished Updated

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

0
Compare
Authoritative record:CVE-2026-124540· High 7.5

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

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CISA-ADPCVSS 3.17.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:H

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 17 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10libjson-xs-perlpkg:deb/ubuntu/libjson-xs-perl?arch=source&distro=stonkingOther threatsAffected
  • =4.040-1
  • =4.040-1build1
Fixed in–
Ubuntu 26.04 LTSlibjson-xs-perlpkg:deb/ubuntu/libjson-xs-perl?arch=source&distro=resoluteOther threatsAffected
  • =4.040-1
Fixed in–
Ubuntu 24.04 LTSlibjson-xs-perlpkg:deb/ubuntu/libjson-xs-perl?arch=source&distro=nobleOther threatsAffected
  • 4.030-2 – 4.040-0ubuntu0.24.04.1
5 affected builds
Fixed in–
Ubuntu 22.04 LTSlibjson-xs-perlpkg:deb/ubuntu/libjson-xs-perl?arch=source&distro=jammyOther threatsAffected
  • =4.030-1build2
  • =4.030-1build3
  • =4.040-0ubuntu0.22.04.1
Fixed in–
Ubuntu 20.04 LTSlibjson-xs-perlpkg:deb/ubuntu/libjson-xs-perl?arch=source&distro=focalOther threatsAffected
  • =4.020-1
  • =4.020-1build1
Fixed in–
Ubuntu 18.04 LTSlibjson-xs-perlpkg:deb/ubuntu/libjson-xs-perl?arch=source&distro=bionicOther threatsAffected
  • =3.030-1build1
  • =3.040-1
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.

References

Community reviews

Loading reviews…