Integer Buffer Overflow in JSON::XS Affects Perl Software
CVE-2025-40928

7.5HIGH

Key Information:

Vendor

Mlehmann

Status
Vendor
CVE Published:
8 September 2025

What is CVE-2025-40928?

The JSON::XS module for Perl, prior to version 4.04, is susceptible to an integer buffer overflow during JSON parsing. This vulnerability can lead to application crashes through segmentation faults, allowing for potential denial-of-service attacks against systems using this module. Users and developers are advised to upgrade to the patched version to mitigate any risks associated with this issue.

Affected Version(s)

JSON::XS 0 < 4.04

References

CVSS V3.1

Score:
7.5
Severity:
HIGH
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Michael Hudak of rasotec
.
CVE-2025-40928 : Integer Buffer Overflow in JSON::XS Affects Perl Software