Heap-based Buffer Overflow Affecting perl-JSON-XS-debugsource package, versions <1:4.04-1.el10_0


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.73% (56th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL10-PERLJSONXSDEBUGSOURCE-13175678
  • published1 Oct 2025
  • disclosed8 Sept 2025

Introduced: 8 Sep 2025

CVE-2025-40928  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade RHEL:10 perl-JSON-XS-debugsource to version 1:4.04-1.el10_0 or higher.
This issue was patched in RHSA-2025:17119.

NVD Description

Note: Versions mentioned in the description apply only to the upstream perl-JSON-XS-debugsource package and not the perl-JSON-XS-debugsource package as distributed by RHEL. See How to fix? for RHEL:10 relevant fixed versions and status.

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

CVSS Base Scores

version 3.1