Heap-based Buffer Overflow Affecting perl-diagnostics package, versions <0:1.37-481.el9


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.81% (54th 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-PERLDIAGNOSTICS-12485994
  • published4 Sept 2025
  • disclosed25 Nov 2023

Introduced: 25 Nov 2023

CVE-2023-47038  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade RHEL:9 perl-diagnostics to version 0:1.37-481.el9 or higher.
This issue was patched in RHSA-2024:2228.

NVD Description

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

A vulnerability was found in perl 5.30.0 through 5.38.0. This issue occurs when a crafted regular expression is compiled by perl, which can allow an attacker controlled byte buffer overflow in a heap allocated buffer.

CVSS Base Scores

version 3.1