# CVE-2025-40929: 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

- Severity: Medium 5.6 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.49%, higher than 43% of CVEs (2026-12-02)
- Published: 2025-09-08T15:08:52.327Z
- Modified: 2026-06-17T09:22:18.803Z
- Weaknesses: CWE-122
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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

(As written by CVE List.)

## Affected

- Cpanel-JSON-XS: before 4.40

## References

- <https://metacpan.org/release/RURBAN/Cpanel-JSON-XS-4.39/source/XS.xs#L713> (related)
- <https://metacpan.org/release/RURBAN/Cpanel-JSON-XS-4.40/changes> (release-notes)
- <https://github.com/rurban/Cpanel-JSON-XS/commit/378236219eaa35742c3962ecbdee364903b0a1f2.patch> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/09/msg00034.html>
- <http://www.openwall.com/lists/oss-security/2025/09/08/1>

## Sources

- CVE List: [CVE-2025-40929](https://www.cve.org/CVERecord?id=CVE-2025-40929), CVE Terms of Use, modified 2025-11-04
- NVD: [CVE-2025-40929](https://nvd.nist.gov/vuln/detail/CVE-2025-40929), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-40929 · Whole record: https://cve.day/CVE-2025-40929.json · Rebuilt by cve.day 2026-11-25T22:59:04.331Z
