Out-of-bounds Write Affecting perl-Tie-File package, versions <0:1.09-512.1.el10_0


Severity

Recommended
high

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
0.54% (47th 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-ROCKY10-PERLTIEFILE-13297606
  • published5 Oct 2025
  • disclosed13 Apr 2025

Introduced: 13 Apr 2025

CVE-2024-56406  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Rocky-Linux:10 perl-Tie-File to version 0:1.09-512.1.el10_0 or higher.
This issue was patched in RLSA-2025:7500.

NVD Description

Note: Versions mentioned in the description apply only to the upstream perl-Tie-File package and not the perl-Tie-File package as distributed by Rocky-Linux. See How to fix? for Rocky-Linux:10 relevant fixed versions and status.

A heap buffer overflow vulnerability was discovered in Perl.

Release branches 5.34, 5.36, 5.38 and 5.40 are affected, including development versions from 5.33.1 through 5.41.10.

When there are non-ASCII bytes in the left-hand-side of the tr operator, S_do_trans_invmap can overflow the destination pointer d.

   $ perl -e '$_ = "\x{FF}" x 1000000; tr/\xFF/\x{100}/;'    Segmentation fault (core dumped)

It is believed that this vulnerability can enable Denial of Service and possibly Code Execution attacks on platforms that lack sufficient defenses.

CVSS Base Scores

version 3.1