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
·
Updated

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

Affected Software

5 affected componentsFixes available
Perl JSON::XS<4.04
Microsoft azl3 perl-JSON-XS 4.03-2
Microsoft cbl2 perl-JSON-XS 4.03-2
Microsoft azl3 perl-JSON-XS 4.03-2
Microsoft cbl2 perl-JSON-XS 4.03-2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade JSON::XS to a version that resolves this vulnerability.

    Fixed in 4.04

Event History

Sep 8, 2025
CVE Published
via MITRE·03:08 PM
Data Sourced
via MITRE·03:08 PM
RemedyDescriptionWeakness
Data Sourced
via NVD·03:15 PM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·04:01 PM
DescriptionSeverityAffected Software
Sep 11, 2025
Data Sourced
via Microsoft·01:01 AM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-40928?

CVE-2025-40928 is classified as a medium severity vulnerability due to its potential to cause denial-of-service attacks.

2

How do I fix CVE-2025-40928?

To fix CVE-2025-40928, upgrade JSON::XS to version 4.04 or later.

3

What is the impact of CVE-2025-40928?

The impact of CVE-2025-40928 includes potential denial-of-service attacks due to an integer buffer overflow.

4

Which versions of JSON::XS are affected by CVE-2025-40928?

Versions of JSON::XS prior to 4.04 are affected by CVE-2025-40928.

5

How can CVE-2025-40928 be exploited?

CVE-2025-40928 can be exploited by crafting specific JSON inputs that trigger the buffer overflow, leading to a segmentation fault.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203