cbcvebase.
CVE-2024-56406
published 2025-04-13

CVE-2024-56406: 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…

PriorityP343high8.4CVSS 3.1
AVLACLPRNUINSUCHIHAH
EPSS
0.54%
41.9th percentile
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.

Affected

18 ranges
VendorProductVersion rangeFixed in
debianperl< perl 5.36.0-7+deb12u2 (bookworm)perl 5.36.0-7+deb12u2 (bookworm)
msrcazl3_perl_5.38.2-507_on_azure_linux_3.0
msrcazl3_perl_5.38.2-508_on_azure_linux_3.0
msrccbl2_perl_5.34.1-490_on_cbl_mariner_2.0
perlperl>= 0 < 5.36.2-r15.36.2-r1
perlperl>= 0 < 5.38.3-r15.38.3-r1
perlperl>= 0 < 5.38.3-r15.38.3-r1
perlperl>= 0 < 5.40.1-r15.40.1-r1
perlperl>= 0 < 5.40.1-r15.40.1-r1
perlperl>= 0 < 5.40.1-r15.40.1-r1
perlperl>= 0 < 5.36.0-7+deb12u25.36.0-7+deb12u2
perlperl>= 0 < 5.40.1-35.40.1-3
perlperl>= 0 < 5.40.1-35.40.1-3
perlperl>= 5.33.1 < 5.38.4-RC15.38.4-RC1
perlperl>= 5.33.1 < 5.38.45.38.4
perlperl>= 5.39.0 < 5.40.2-RC15.40.2-RC1
perlperl>= 5.39.0 < 5.40.25.40.2
perlperl5.41.0 – 5.41.10

CVSS provenance

nvdv3.18.4HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
osv8.4HIGH
vendor_msrc8.6HIGH
vendor_oracle8.6HIGH
vendor_debian8.4HIGH
vendor_redhat8.4HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.