Skip to main content
CVE-2025-40928VulnerabilityPublished Updated

Libjson xs perl: JSON::XS before version 4.04 for Perl has an integer buffer overflow causing a segfault when parsing

Affects libjson-xs-perlSource GCVE Database

0
Compare
Authoritative record:CVE-2025-40928· High 7.5

Not known to be exploited · CVSS 7.5 High · fixed in 4.040-0ubuntu0.22.04.1 : patch libjson-xs-perl soon.

Data as of 24 Nov 2026, 20:10 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.040-0ubuntu0.22.04.1, 4.040-0ubuntu0.24.04.1, 4.040-1
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 8 Sep 2025

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

What to do

Upgrade the Ubuntu libjson-xs-perl to 4.040-0ubuntu0.22.04.1 (package) or 4.040-0ubuntu0.24.04.1 (package) or 4.040-1 (package).

Affected software

ProductAffectedFixed in
Ubuntu 26.10libjson-xs-perlpkg:deb/ubuntu/libjson-xs-perl?arch=source&distro=stonkingOther threatsAffected
  • <4.040-1
Fixed in
  • 4.040-1
Ubuntu 26.04 LTSlibjson-xs-perlpkg:deb/ubuntu/libjson-xs-perl?arch=source&distro=resoluteOther threatsAffected
  • <4.040-1
Fixed in
  • 4.040-1
Ubuntu 25.10libjson-xs-perlpkg:deb/ubuntu/libjson-xs-perl?arch=source&distro=questingOther threatsAffected
  • <4.040-1
Fixed in
  • 4.040-1
Ubuntu 24.04 LTSlibjson-xs-perlpkg:deb/ubuntu/libjson-xs-perl?arch=source&distro=nobleOther threatsAffected
  • <4.040-0ubuntu0.24.04.1
Fixed in
  • 4.040-0ubuntu0.24.04.1
Ubuntu 22.04 LTSlibjson-xs-perlpkg:deb/ubuntu/libjson-xs-perl?arch=source&distro=jammyOther threatsAffected
  • <4.040-0ubuntu0.22.04.1
Fixed in
  • 4.040-0ubuntu0.22.04.1
Ubuntu 20.04 LTSlibjson-xs-perlpkg:deb/ubuntu/libjson-xs-perl?arch=source&distro=focalOther threatsAffected
  • =4.020-1
  • =4.020-1build1
Fixed in–

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

Description

JSON::XS before version 4.04 for Perl has an integer buffer overflow causing a segfault when parsing crafted JSON, enabling denial-of-service attacks or other unspecified impact

References

Community reviews

Loading reviews…