Skip to main content
CVE-2025-40929VulnerabilityPublished Updated

Libcpanel json xs perl: Cpanel::JSON::XS before version 4.40 for Perl has an integer buffer overflow causing a

Affects libcpanel-json-xs-perlSource GCVE Database

0
Compare
Authoritative record:CVE-2025-40929· Medium 5.6

Not known to be exploited · CVSS 5.6 Medium · fixed in 4.27-1ubuntu0.2 : update libcpanel-json-xs-perl when convenient.

Data as of 18 Nov 2026, 08:23 UTC

CVSS 3.1 base score
5.6Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CISA-ADPCVSS 3.15.6
EPSS
0.4% chance of exploitation in 30 days – higher than 41% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 4.27-1ubuntu0.2, 4.37-1ubuntu0.1, 4.39-2
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

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

What to do

Upgrade the Ubuntu libcpanel-json-xs-perl to 4.27-1ubuntu0.2 (package) or 4.37-1ubuntu0.1 (package) or 4.39-2 (package).

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTSlibcpanel-json-xs-perlpkg:deb/ubuntu/libcpanel-json-xs-perl?arch=source&distro=resoluteOther threatsAffected
  • <4.39-2
Fixed in
  • 4.39-2
Ubuntu 25.10libcpanel-json-xs-perlpkg:deb/ubuntu/libcpanel-json-xs-perl?arch=source&distro=questingOther threatsAffected
  • <4.39-2
Fixed in
  • 4.39-2
Ubuntu 24.04 LTSlibcpanel-json-xs-perlpkg:deb/ubuntu/libcpanel-json-xs-perl?arch=source&distro=nobleOther threatsAffected
  • <4.37-1ubuntu0.1
Fixed in
  • 4.37-1ubuntu0.1
Ubuntu 22.04 LTSlibcpanel-json-xs-perlpkg:deb/ubuntu/libcpanel-json-xs-perl?arch=source&distro=jammyOther threatsAffected
  • <4.27-1ubuntu0.2
Fixed in
  • 4.27-1ubuntu0.2
Ubuntu Pro 20.04 LTSlibcpanel-json-xs-perlpkg:deb/ubuntu/libcpanel-json-xs-perl?arch=source&distro=esm-infra/focalOther threatsAffected
  • 4.12-1 – 4.19-1ubuntu0.1+esm1
9 affected builds
Fixed in–
Ubuntu Pro 18.04 LTSlibcpanel-json-xs-perlpkg:deb/ubuntu/libcpanel-json-xs-perl?arch=source&distro=esm-apps/bionicOther threatsAffected
  • =3.0225-1build1
  • =3.0239-1
  • =3.0239-1ubuntu0.1~esm1
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 and should be applied by updating the libcpanel-json-xs-perl package to version 4.27-1ubuntu0.2 or later on Ubuntu 22.04 LTS, 4.37-1ubuntu0.1 or later on Ubuntu 24.04 LTS, and 4.39-1ubuntu0.1 or later on Ubuntu 25.04. Standard system updates will apply the necessary patches. No additional mitigation actions are required beyond applying the official updates.

Description

Cpanel::JSON::XS versions before 4.40 for Perl contain an integer buffer overflow vulnerability that causes a segmentation fault when parsing crafted JSON data. This flaw can be exploited to cause denial-of-service (DoS) conditions by crashing the affected software. The issue is fixed in versions 4.27-1ubuntu0.2, 4.37-1ubuntu0.1, and 4.39-2 of the libcpanel-json-xs-perl package.

References

Community reviews

Loading reviews…