CVE-2025-40929 Integer overflow in Cpanel::JSON::XS

Medium 5.6 Published Updated

An integer buffer overflow in the Cpanel::JSON::XS Perl library allows attackers to cause a denial of service via crafted JSON input.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-40929?

CVE-2025-40929 is a medium-severity vulnerability in RURBAN Cpanel::JSON::XS, published on 8 Sep 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-122

Which versions are affected by CVE-2025-40929?

Linux distribution packages (2)
perl-Cpanel-JSON-XS SUSE:Linux Enterprise Module for Package Hub 15 SP7All versions4.380.0-150700.3.3.1
perl-Cpanel-JSON-XS openSUSE:TumbleweedAll versions4.400.0-1.1

How do I fix CVE-2025-40929?

Upgrade to a fixed version.

Is CVE-2025-40929 being exploited?

There is no known exploitation of CVE-2025-40929 in the wild and no public exploit code.

Sources

Also known as ALPINE-CVE-2025-40929, AZL-67086, AZL-67088, DEBIAN-CVE-2025-40929, DLA-4318-1, DSA-6000-1 and 8 more.

Is CVE-2025-40929 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free