# CVE-2025-40928: JSON::XS before version 4.04 for Perl has an integer buffer overflow causing a segfault when parsing crafted JSON, enabling denial-of-service attacks or other unspecified impact

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- 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.73%, higher than 55% of CVEs (2026-12-02)
- Published: 2025-09-08T15:08:21.860Z
- Modified: 2026-06-17T09:22:18.667Z
- Weaknesses: CWE-122
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: CPANSec

## Description

JSON::XS before version 4.04 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

- JSON-XS: before 4.04

## References

- <https://metacpan.org/release/MLEHMANN/JSON-XS-4.03/source/XS.xs#L256> (related)
- <https://security.metacpan.org/patches/J/JSON-XS/4.03/CVE-2025-40928-r1.patch> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/09/msg00033.html>
- <http://www.openwall.com/lists/oss-security/2025/09/08/2>

## Sources

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

---

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