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
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
Thin evidence
One scorer or none| CISA-ADP | CVSS 3.1 | 5.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:LExploitation evidence
Disclosed: evidence found.
CVE published 8 Sep 2025
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
Upgrade the Ubuntu libcpanel-json-xs-perl to 4.27-1ubuntu0.2 (package) or 4.37-1ubuntu0.1 (package) or 4.39-2 (package).
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.04 LTSlibcpanel-json-xs-perlpkg:deb/ubuntu/libcpanel-json-xs-perl?arch=source&distro=resoluteOther threats | Affected
| Fixed in
|
Ubuntu 25.10libcpanel-json-xs-perlpkg:deb/ubuntu/libcpanel-json-xs-perl?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlibcpanel-json-xs-perlpkg:deb/ubuntu/libcpanel-json-xs-perl?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSlibcpanel-json-xs-perlpkg:deb/ubuntu/libcpanel-json-xs-perl?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu Pro 20.04 LTSlibcpanel-json-xs-perlpkg:deb/ubuntu/libcpanel-json-xs-perl?arch=source&distro=esm-infra/focalOther threats | Affected
| Fixed in– |
Ubuntu Pro 18.04 LTSlibcpanel-json-xs-perlpkg:deb/ubuntu/libcpanel-json-xs-perl?arch=source&distro=esm-apps/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 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
- ubuntu.com/security/CVE-2025-40929 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-40929 (opens in a new tab)
- lists.security.metacpan.org/cve-announce/msg/32608920/ (opens in a new tab)
- github.com/rurban/Cpanel-JSON-XS/commit/378236219eaa35742c3962ecbdee364903b0a1f2.patch (opens in a new tab)
- metacpan.org/release/RURBAN/Cpanel-JSON-XS-4.39/source/XS.xs (opens in a new tab)
- metacpan.org/release/RURBAN/Cpanel-JSON-XS-4.40/changes (opens in a new tab)
- ubuntu.com/security/notices/USN-7749-1 (opens in a new tab)