CVE-2025-40929 Affecting perl-Cpanel-JSON-XS package, versions <0:4.25-2.amzn2023.0.7


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.49% (44th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2023-PERLCPANELJSONXS-13166822
  • published1 Oct 2025
  • disclosed8 Sept 2025

Introduced: 8 Sep 2025

CVE-2025-40929  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 perl-Cpanel-JSON-XS to version 0:4.25-2.amzn2023.0.7 or higher.
This issue was patched in ALAS2023-2025-1199.

NVD Description

Note: Versions mentioned in the description apply only to the upstream perl-Cpanel-JSON-XS package and not the perl-Cpanel-JSON-XS package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

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

CVSS Base Scores

version 3.1