Skip to content
OpenAdvisories
Medium · 5.6 CVE-2025-40929 EUVD-2025-27140GHSA-q7gx-445j-xwq8

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

Published Sep 8, 2025 · Updated Nov 4, 2025 · Assigned by CPANSec

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 products

VendorProductAffectedFixed
RURBAN Cpanel::JSON::XS < 4.40 4.40

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libcpanel-json-xs-perl 4.39-2 —
Debian 13 libcpanel-json-xs-perl 4.39-2~deb13u1 DSA-6000-1
Debian 12 libcpanel-json-xs-perl 4.35-1+deb12u1 DSA-6000-1
Debian 11 libcpanel-json-xs-perl 4.25-1+deb11u1 DLA-4318-1
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS libcpanel-json-xs-perl 4.39-2 —
Ubuntu 25.10 libcpanel-json-xs-perl 4.39-2 —
Ubuntu 24.04 LTS libcpanel-json-xs-perl 4.37-1ubuntu0.1 USN-7749-1
Ubuntu 22.04 LTS libcpanel-json-xs-perl 4.27-1ubuntu0.2 USN-7749-1
Ubuntu 20.04 LTS libcpanel-json-xs-perl No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS libcpanel-json-xs-perl No fix yet —
Ubuntu 16.04 LTS libcpanel-json-xs-perl No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP7 perl-Cpanel-JSON-XS 4.380.0-150700.3.3.1 SUSE-SU-2026:4926-1, SUSE-SU-2025:03193-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed perl-Cpanel-JSON-XS 4.400.0-1.1 openSUSE-SU-2025:15534-1
openSUSE Leap 16.0 perl-Cpanel-JSON-XS 4.420.0-bp160.1.1 openSUSE-SU-2026:21140-1
ReleasePackageFixed inAdvisory
Alpine v3.24 perl-cpanel-json-xs 4.40-r0 —
Alpine v3.23 perl-cpanel-json-xs 4.40-r0 —
Alpine v3.22 perl-cpanel-json-xs 4.40-r0 —
Alpine v3.21 perl-cpanel-json-xs 4.40-r0 —
Alpine v3.20 perl-cpanel-json-xs 4.40-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 perl-Cpanel-JSON-XS 4.25-2.amzn2023.0.7 ALAS2023-2025-1199

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 perl-Cpanel-JSON-XS No fix yet —
Azure Linux 2 (CBL-Mariner) perl-Cpanel-JSON-XS No fix yet —

Advisories 9

References