Vulnerability · Published Sep 8, 2025 · Assigned by CPANSec

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

Medium 5.6

In plain English

A medium-severity heap buffer overflow in Cpanel::JSON::XS from RURBAN. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 40% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.6Medium
Exploit odds (30 days)0.5%top 60.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20perl-cpanel-json-xs4.40-r0ALPINE-CVE-2025-40929
Alpine:v3.21perl-cpanel-json-xs4.40-r0ALPINE-CVE-2025-40929
Alpine:v3.22perl-cpanel-json-xs4.40-r0ALPINE-CVE-2025-40929
Alpine:v3.23perl-cpanel-json-xs4.40-r0ALPINE-CVE-2025-40929
Alpine:v3.24perl-cpanel-json-xs4.40-r0ALPINE-CVE-2025-40929
Debian:12libcpanel-json-xs-perl4.35-1+deb12u1DSA-6000-1
Debian:12libcpanel-json-xs-perl4.35-1+deb12u1DEBIAN-CVE-2025-40929
Debian:13libcpanel-json-xs-perl4.39-2~deb13u1DEBIAN-CVE-2025-40929
Debian:13libcpanel-json-xs-perl4.39-2~deb13u1DSA-6000-1
Debian:14libcpanel-json-xs-perl4.39-2DEBIAN-CVE-2025-40929
Ubuntu:22.04:LTSlibcpanel-json-xs-perl4.27-1ubuntu0.2USN-7749-1
Ubuntu:22.04:LTSlibcpanel-json-xs-perl4.27-1ubuntu0.2UBUNTU-CVE-2025-40929
Ubuntu:24.04:LTSlibcpanel-json-xs-perl4.37-1ubuntu0.1UBUNTU-CVE-2025-40929
Ubuntu:24.04:LTSlibcpanel-json-xs-perl4.37-1ubuntu0.1USN-7749-1
Ubuntu:25.10libcpanel-json-xs-perl4.39-2UBUNTU-CVE-2025-40929
Ubuntu:26.04:LTSlibcpanel-json-xs-perl4.39-2UBUNTU-CVE-2025-40929

Affected products (as reported)

VendorProductVersions
RURBAN Cpanel::JSON::XS 0 – before 4.40

Weakness: CWE-122 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

References