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

Published Sep 8, 2025 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
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

Remediation

Vendor Solution

Update to 4.04, or apply the provided patch

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4317-1 libjson-xs-perl security update
Debian DSA Debian DSA DSA-5999-1 libjson-xs-perl security update
EUVD EUVD EUVD-2025-27141 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
Ubuntu USN Ubuntu USN USN-7750-1 JSON-XS vulnerability
History
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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
Title 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
Weaknesses CWE-122
References

Subscriptions

No data.

Weaknesses

Sources

Status
PUBLISHED
Assigner
CPANSec
Published
Updated
Nov 4, 2025, 9:10 PM
Reserved
Apr 16, 2025, 9:05 AM
Status
Deferred
Published
Sep 8, 2025, 3:15 PM
Modified
Jun 17, 2026, 9:22 AM
Severity
Moderate
Public date
Sep 8, 2025, 3:08 PM