CVSS 3.1
8.4 highCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HHigh (8.4) in perl perl. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExplain CVE-2024-56406 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-56406?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-56406?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-56406 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| perl | from 5.41.0 through 5.41.10 |
| perl | from 5.39.0 before 5.40.2-RC1 |
| perl | from 5.33.1 before 5.38.4-RC1 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12 | perl | 5.36.0-7+deb12u2 | DEBIAN-CVE-2024-56406 DSA-5902-1 |
| Debian | 13, 14 | perl | 5.40.1-3 | DEBIAN-CVE-2024-56406 |
| Ubuntu | 22.04:LTS | perl | 5.34.0-3ubuntu1.4 | UBUNTU-CVE-2024-56406 USN-7434-1 |
| Ubuntu | 24.04:LTS | perl | 5.38.2-3.2ubuntu0.1 | UBUNTU-CVE-2024-56406 USN-7434-1 |
| Ubuntu | 25.04 | perl | 5.40.1-2ubuntu0.1 | USN-7434-2 |
| Red Hat | enterprise_linux:10.0 | perl, perl-libs, perl-devel and 7 more | 4:5.40.2-512.1.el10_0 | RHSA-2025:7500 |
| Red Hat | enterprise_linux:10.0 | perl-AutoSplit, perl-AutoLoader | 0:5.74-512.1.el10_0 | RHSA-2025:7500 |
| Red Hat | enterprise_linux:10.0 | perl-B, perl-B-debuginfo | 0:1.89-512.1.el10_0 | RHSA-2025:7500 |
| Red Hat | enterprise_linux:10.0 | perl-Benchmark, perl-Sys-Hostname, perl-Sys-Hostname-debuginfo | 0:1.25-512.1.el10_0 | RHSA-2025:7500 |
| Red Hat | enterprise_linux:10.0 | perl-Class-Struct | 0:0.68-512.1.el10_0 | RHSA-2025:7500 |
| Red Hat | enterprise_linux:10.0 | perl-DBM_Filter | 0:0.06-512.1.el10_0 | RHSA-2025:7500 |
| Red Hat | enterprise_linux:10.0 | perl-Devel-Peek, perl-Devel-Peek-debuginfo | 0:1.34-512.1.el10_0 | RHSA-2025:7500 |
| Red Hat | enterprise_linux:10.0 | perl-Devel-SelfStubber | 0:1.06-512.1.el10_0 | RHSA-2025:7500 |
| Red Hat | enterprise_linux:10.0 | perl-DynaLoader | 0:1.56-512.1.el10_0 | RHSA-2025:7500 |
| Red Hat | enterprise_linux:10.0 | perl-English, perl-autouse | 0:1.11-512.1.el10_0 | RHSA-2025:7500 |
| Red Hat | enterprise_linux:10.0 | perl-Errno | 0:1.38-512.1.el10_0 | RHSA-2025:7500 |
| Red Hat | enterprise_linux:10.0 | perl-ExtUtils-Constant | 0:0.25-512.1.el10_0 | RHSA-2025:7500 |
| 54 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Linux Micro 6.0 | perl | 5.38.2-2.1 | SUSE-SU-2025:20334-1 |
| SUSE | Linux Micro 6.1 | perl | 5.38.2-slfo.1.1_2.1 | SUSE-SU-2025:20532-1 |
| openSUSE | Tumbleweed | perl | 5.40.2-1.1 | openSUSE-SU-2025:15003-1 |
| AlmaLinux | 10 | perl, perl-libs, perl-devel and 3 more | 4:5.40.2-512.1.el10_0 | ALSA-2025:7500 |
| AlmaLinux | 10 | perl-AutoSplit, perl-AutoLoader | 5.74-512.1.el10_0 | ALSA-2025:7500 |
| AlmaLinux | 10 | perl-B | 1.89-512.1.el10_0 | ALSA-2025:7500 |
| AlmaLinux | 10 | perl-Benchmark, perl-Sys-Hostname | 1.25-512.1.el10_0 | ALSA-2025:7500 |
| AlmaLinux | 10 | perl-Class-Struct | 0.68-512.1.el10_0 | ALSA-2025:7500 |
| AlmaLinux | 10 | perl-DBM_Filter | 0.06-512.1.el10_0 | ALSA-2025:7500 |
| AlmaLinux | 10 | perl-Devel-Peek | 1.34-512.1.el10_0 | ALSA-2025:7500 |
| AlmaLinux | 10 | perl-Devel-SelfStubber | 1.06-512.1.el10_0 | ALSA-2025:7500 |
| AlmaLinux | 10 | perl-DynaLoader | 1.56-512.1.el10_0 | ALSA-2025:7500 |
| AlmaLinux | 10 | perl-English, perl-autouse | 1.11-512.1.el10_0 | ALSA-2025:7500 |
| AlmaLinux | 10 | perl-Errno | 1.38-512.1.el10_0 | ALSA-2025:7500 |
| AlmaLinux | 10 | perl-ExtUtils-Constant | 0.25-512.1.el10_0 | ALSA-2025:7500 |
| 54 more for AlmaLinux in the JSON. | ||||
| Rocky Linux | 10 | perl | 4:5.40.2-512.1.el10_0 | RLSA-2025:7500 |
| Alpine | v3.18 | perl | 5.36.2-r1 | ALPINE-CVE-2024-56406 |
| Alpine | v3.19, v3.20 | perl | 5.38.3-r1 | ALPINE-CVE-2024-56406 |
| Alpine | v3.21, v3.22, v3.23 and 1 more | perl | 5.40.1-r1 | ALPINE-CVE-2024-56406 |
| Azure Linux | 2 | perl | 5.34.1-490 | AZL-60384 |
| Azure Linux | 3 | perl | 5.38.2-507 | AZL-60409 |
| Alpaquita | 23 | perl | 5.36.2-r1 | BELL-CVE-2024-56406 |
| Alpaquita | stream | perl | 5.40.2-r0 | BELL-CVE-2024-56406 |
| BellSoft Hardened Containers | 23 | perl | 5.36.2-r1 | BELL-CVE-2024-56406 |
| BellSoft Hardened Containers | stream | perl | 5.40.2-r0 | BELL-CVE-2024-56406 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.
Red Hat rates this Important.
This vulnerability is rated as an Important vulnerability because a heap buffer overflow vulnerability exists in the tr/// operator causing DoS and arbitrary code execution, which can disrupt system services, background system jobs.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | perl-4:5.40.2-512.1.el10_0 | Fixed 2025-05-13 | RHSA-2025:7500 |
| Red Hat Enterprise Linux 6 | perl | Out of support scope | |
| Red Hat Enterprise Linux 7 | perl | Out of support scope | |
| Red Hat Enterprise Linux 8 | perl | Not affected | |
| Red Hat Enterprise Linux 8 | perl:5.32/perl | Not affected | |
| Red Hat Enterprise Linux 9 | perl | Not affected | |
| Red Hat OpenShift Container Platform 4 | openshift/ose-rhel-coreos-8 | Not affected | |
| Red Hat OpenShift Container Platform 4 | openshift/ose-rhel-coreos-9 | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-56406.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.