vulnerability

Rocky Linux: CVE-2024-56406: perl (RLSA-2025-7500)

Severity
7
CVSS
(AV:L/AC:L/Au:N/C:C/I:C/A:C)
Published
Oct 3, 2025
Added
Oct 6, 2025
Modified
Oct 23, 2025

Description

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.

Solutions

rocky-upgrade-perlrocky-upgrade-perl-brocky-upgrade-perl-b-debuginforocky-upgrade-perl-debuginforocky-upgrade-perl-debugsourcerocky-upgrade-perl-develrocky-upgrade-perl-devel-peekrocky-upgrade-perl-devel-peek-debuginforocky-upgrade-perl-dynaloaderrocky-upgrade-perl-errnorocky-upgrade-perl-fcntlrocky-upgrade-perl-fcntl-debuginforocky-upgrade-perl-file-dosglobrocky-upgrade-perl-file-dosglob-debuginforocky-upgrade-perl-gdbm_filerocky-upgrade-perl-gdbm_file-debuginforocky-upgrade-perl-hash-utilrocky-upgrade-perl-hash-util-debuginforocky-upgrade-perl-hash-util-fieldhashrocky-upgrade-perl-hash-util-fieldhash-debuginforocky-upgrade-perl-i18n-langinforocky-upgrade-perl-i18n-langinfo-debuginforocky-upgrade-perl-interpreterrocky-upgrade-perl-interpreter-debuginforocky-upgrade-perl-iorocky-upgrade-perl-io-debuginforocky-upgrade-perl-librocky-upgrade-perl-libsrocky-upgrade-perl-libs-debuginforocky-upgrade-perl-mrorocky-upgrade-perl-mro-debuginforocky-upgrade-perl-ndbm_filerocky-upgrade-perl-ndbm_file-debuginforocky-upgrade-perl-odbm_filerocky-upgrade-perl-odbm_file-debuginforocky-upgrade-perl-opcoderocky-upgrade-perl-opcode-debuginforocky-upgrade-perl-phrocky-upgrade-perl-posixrocky-upgrade-perl-posix-debuginforocky-upgrade-perl-sys-hostnamerocky-upgrade-perl-sys-hostname-debuginforocky-upgrade-perl-time-piecerocky-upgrade-perl-time-piece-debuginfo
Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.