Heap-based Buffer Overflow Affecting perl-JSON-XS package, versions <1:3.04-4.el8_10


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-RHEL8-PERLJSONXS-12559192
  • published9 Sept 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:8 perl-JSON-XS to version 1:3.04-4.el8_10 or higher.
This issue was patched in RHSA-2025:17163.

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:8 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