Heap-based Buffer Overflow Affecting perl-JSON-XS package, versions <1:4.03-5.el9_4.1


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-RHEL9-PERLJSONXS-13380206
  • published7 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:9 perl-JSON-XS to version 1:4.03-5.el9_4.1 or higher.
This issue was patched in RHSA-2025:17430.

NVD Description

Note: Versions mentioned in the description apply only to the upstream perl-JSON-XS package and not the perl-JSON-XS package as distributed by RHEL. See How to fix? for RHEL:9 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