CVE-2024-56406
Expert Analysis
Professional remediation guidance
Get tailored security recommendations from our analyst team for CVE-2024-56406. We'll provide specific mitigation strategies based on your environment and risk profile.
CVSS Score
V3.1EPSS Score
v2025.03.14There is a 0.2% chance that this vulnerability will be exploited in the wild within the next 30 days.
Attack Vector Metrics
Impact Metrics
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.
Available Exploits
Related News
fastcgi CVE-2025-23016: Integer & buffer overflow in fastcgi (oss-sec ML, 2025.04.23) fastcgi 2.4.5 т信罩c Perl CVE-2024-56406: Perl 5.34, 5.36, 5.38 and 5.40 are vulnerable to a heap buffer overflow when transli…
Perl, a versatile programming language widely used for various tasks like system administration and web development, has been The post CVE-2024-56406: Heap Overflow Vulnerability in Perl Threatens Denial of Service and Potential Code Execution appeared first on Daily CyberSecurity.
Posted by Solar Designer on Apr 13Hi Stig, Thank you for handling this disclosure so well! Running this command on distro packages based on 5.32.1 (like in EL9) does not segfault (produces no output), which is as expected for a version that didn't yet have …
EU Vulnerability Database
Monitored by ENISA for EU cybersecurity
ENISA Analysis
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.
Affected Products (ENISA)
ENISA Scoring
EPSS Score
ENISA References
Data provided by ENISA EU Vulnerability Database. Last updated: April 30, 2025
GitHub Security Advisories
Community-driven vulnerability intelligence from GitHub
Advisory Details
CVSS Scoring
CVSS Score
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
References
Advisory provided by GitHub Security Advisory Database. Published: April 13, 2025, Modified: April 30, 2025