Bug 2359290 (CVE-2024-56406) - CVE-2024-56406 perl: Perl 5.34, 5.36, 5.38 and 5.40 are vulnerable to a heap buffer overflow when transliterating non-ASCII bytes
Summary: CVE-2024-56406 perl: Perl 5.34, 5.36, 5.38 and 5.40 are vulnerable to a heap ...
Keywords:
Status: NEW
Alias: CVE-2024-56406
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2359474 2359475
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-04-13 14:01 UTC by OSIDB Bzimport
Modified: 2025-05-13 15:59 UTC (History)
12 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2025:7500 0 None None None 2025-05-13 15:59:56 UTC

Description OSIDB Bzimport 2025-04-13 14:01:05 UTC
A heap buffer overflow vulnerability was discovered in Perl. 

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.

Comment 2 errata-xmlrpc 2025-05-13 15:59:54 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2025:7500 https://access.redhat.com/errata/RHSA-2025:7500


Note You need to log in before you can comment on or make changes to this bug.