CVE-2025-40929
Linux Debian vulnerability analysis and mitigation

Overview

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. The vulnerability was discovered by Michael Hudak of rasotec and was disclosed on September 8, 2025 (OSS-Security).

Technical details

The vulnerability is classified as CWE-122 (Heap-based Buffer Overflow). The issue occurs when parsing crafted JSON input that triggers an integer buffer overflow condition, which can lead to a segmentation fault. The vulnerability has been assigned a CVSS v3.1 base score of 5.6 MEDIUM (AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L) (NVD).

Impact

The vulnerability can be exploited to cause denial-of-service conditions through application crashes. Additionally, there may be other unspecified impacts due to the buffer overflow condition. The vulnerability affects applications using Cpanel::JSON::XS versions prior to 4.40 (OSS-Security).

Mitigation and workarounds

The recommended mitigation is to update to Cpanel::JSON::XS version 4.40 or later. Alternatively, users can apply the provided patch available at the official repository (CPAN-Patch).

Additional resources


SourceThis report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-9943CRITICAL9.1
  • Linux DebianLinux Debian
  • shibboleth-sp
NoYesSep 10, 2025
CVE-2025-7709MEDIUM6.9
  • Linux DebianLinux Debian
  • sqlite3
NoNoSep 08, 2025
CVE-2025-9714MEDIUM6.2
  • Linux DebianLinux Debian
  • libxml2-static
NoYesSep 10, 2025
CVE-2025-40929MEDIUM5.6
  • Linux DebianLinux Debian
  • perl-cpanel-json-xs
NoYesSep 08, 2025
CVE-2025-8277LOW3.1
  • Linux DebianLinux Debian
  • libssh2-devel
NoNoSep 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management