Skip to main content
VulnerabilityPublished Updated

CVE-2026-124541: Libjson xs perl · JSON::XS versions before 4.05 for Perl leak the decoded part of a rejected long

Affects libjson-xs-perlSource GCVE Database

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

Not known to be exploited · CVSS 7.5 High.

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
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

Upgrade JSON::XS to version 4.05 or later, where this memory leak issue has been fixed. No other mitigation is indicated by the available data.

Description

JSON::XS versions before 4.05 for Perl contain a memory leak vulnerability in the decode_str function. When decoding a long string that is rejected due to control characters, invalid escapes, malformed UTF-8, or premature end of input, the decoded parts are not freed, causing memory to be retained. This can lead to memory exhaustion if repeated rejected strings are processed by a long-running process.

References

Community reviews

Loading reviews…