Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-56406

published high CVSS 3.1 · 8.4

Perl is vulnerable to a heap buffer overflow when transliterating non-ASCII bytes

Published
13 Apr 2025, 13:16:09 UTC
Updated
16 Oct 2025, 14:04:20 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
perl — perl5.41.0 through 5.41.10 · 5.39.0 to < 5.40.2-RC1 · 5.33.1 to < 5.38.4-RC1 · Other versions: unaffected Affected Not stated CPANSec
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
AlmaLinux 10 perl Advisory build 4:5.40.2-512.1.el10_0 ALSA-2025:7500
Alpine Linux edge perl Fixed 5.40.1-r1 Package fix record
Debian bookworm perl Advisory build 5.36.0-7+deb12u2 DSA-5902-1
Oracle Linux 10 perlaarch64 Advisory build 4:5.40.2-512.1.el10_0 ELSA-2025-7500
Red Hat Enterprise Linux RHEL-10 perlaarch64 Advisory build 4:5.40.2-512.1.el10_0 RHSA-2025:7500
Show 95 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE openSUSE-Tumbleweed perlaarch64 Advisory build 5.40.2-1.1 OPENSUSE-SU-2025:15003-1
Ubuntu jammy perl Advisory build 5.34.0-3ubuntu1.4 USN-7434-1
Alpine Linux v3.18 perl Fixed 5.36.2-r1 Package fix record
Alpine Linux v3.19 perl Fixed 5.38.3-r1 Package fix record
Alpine Linux v3.20 perl Fixed 5.38.3-r1 Package fix record
Alpine Linux v3.21 perl Fixed 5.40.1-r1 Package fix record
Alpine Linux v3.22 perl Fixed 5.40.1-r1 Package fix record
Alpine Linux v3.23 perl Fixed 5.40.1-r1 Package fix record
Alpine Linux v3.24 perl Fixed 5.40.1-r1 Package fix record
Oracle Linux 10 perlx86_64 Advisory build 4:5.40.2-512.1.el10_0 ELSA-2025-7500
Red Hat Enterprise Linux RHEL-10 perlppc64le Advisory build 4:5.40.2-512.1.el10_0 RHSA-2025:7500
Red Hat Enterprise Linux RHEL-10 perls390x Advisory build 4:5.40.2-512.1.el10_0 RHSA-2025:7500
Red Hat Enterprise Linux RHEL-10 perlsrc Advisory build 4:5.40.2-512.1.el10_0 RHSA-2025:7500
Red Hat Enterprise Linux RHEL-10 perlx86_64 Advisory build 4:5.40.2-512.1.el10_0 RHSA-2025:7500
SUSE / openSUSE openSUSE-Tumbleweed perlppc64le Advisory build 5.40.2-1.1 OPENSUSE-SU-2025:15003-1
SUSE / openSUSE openSUSE-Tumbleweed perls390x Advisory build 5.40.2-1.1 OPENSUSE-SU-2025:15003-1
SUSE / openSUSE openSUSE-Tumbleweed perlx86_64 Advisory build 5.40.2-1.1 OPENSUSE-SU-2025:15003-1
Ubuntu noble perl Advisory build 5.38.2-3.2ubuntu0.1 USN-7434-1
Ubuntu plucky perl Advisory build 5.40.1-2ubuntu0.1 USN-7434-2
AlmaLinux 10 perl-Attribute-Handlers Advisory build 1.03-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-AutoLoader Advisory build 5.74-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-AutoSplit Advisory build 5.74-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-B Advisory build 1.89-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-Benchmark Advisory build 1.25-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-Class-Struct Advisory build 0.68-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-Config-Extensions Advisory build 0.03-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-DBM_Filter Advisory build 0.06-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-Devel-Peek Advisory build 1.34-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-Devel-SelfStubber Advisory build 1.06-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-DirHandle Advisory build 1.05-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-Dumpvalue Advisory build 2.27-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-DynaLoader Advisory build 1.56-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-English Advisory build 1.11-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-Errno Advisory build 1.38-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-ExtUtils-Constant Advisory build 0.25-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-ExtUtils-Embed Advisory build 1.35-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-ExtUtils-Miniperl Advisory build 1.14-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-Fcntl Advisory build 1.18-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-File-Basename Advisory build 2.86-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-File-Compare Advisory build 1.100.800-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-File-Copy Advisory build 2.41-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-File-DosGlob Advisory build 1.12-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-File-Find Advisory build 1.44-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-File-stat Advisory build 1.14-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-FileCache Advisory build 1.10-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-FileHandle Advisory build 2.05-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-FindBin Advisory build 1.54-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-GDBM_File Advisory build 1:1.24-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-Getopt-Std Advisory build 1.14-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-Hash-Util Advisory build 0.32-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-Hash-Util-FieldHash Advisory build 1.27-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-I18N-Collate Advisory build 1.02-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-I18N-LangTags Advisory build 0.45-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-I18N-Langinfo Advisory build 0.24-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-IO Advisory build 1.55-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-IPC-Open3 Advisory build 1.22-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-Locale-Maketext-Simple Advisory build 1:0.21-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-Math-Complex Advisory build 1.62-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-Memoize Advisory build 1.16-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-Module-Loaded Advisory build 1:0.08-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-NDBM_File Advisory build 1.17-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-NEXT Advisory build 0.69-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-Net Advisory build 1.04-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-ODBM_File Advisory build 1.18-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-Opcode Advisory build 1.65-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-POSIX Advisory build 2.20-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-Pod-Functions Advisory build 1.14-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-Pod-Html Advisory build 1.35-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-Safe Advisory build 2.46-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-Search-Dict Advisory build 1.07-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-SelectSaver Advisory build 1.02-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-SelfLoader Advisory build 1.27-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-Symbol Advisory build 1.09-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-Sys-Hostname Advisory build 1.25-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-Term-Complete Advisory build 1.403-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-Term-ReadLine Advisory build 1.17-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-Test Advisory build 1.31-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-Text-Abbrev Advisory build 1.02-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-Thread Advisory build 3.05-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-Thread-Semaphore Advisory build 2.13-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-Tie Advisory build 4.6-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-Tie-File Advisory build 1.09-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-Tie-Memoize Advisory build 1.1-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-Time Advisory build 1.04-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-Time-Piece Advisory build 1.3401-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-Unicode-UCD Advisory build 0.78-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-User-pwent Advisory build 1.05-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-autouse Advisory build 1.11-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-base Advisory build 2.27-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-blib Advisory build 1.07-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-debugger Advisory build 1.60-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-deprecate Advisory build 0.04-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-devel Advisory build 4:5.40.2-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-diagnostics Advisory build 1.40-512.1.el10_0 ALSA-2025:7500
AlmaLinux 10 perl-doc Advisory build 5.40.2-512.1.el10_0 ALSA-2025:7500

Package entries are limited to the first 100 builds and 100 linked advisories.

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.

en · CPANSec · cna

Vendor advisories explicitly linked to this CVE.

17

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.4 / 10
Severity
high
Provider
CISA-ADP · adp
Vector string
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
perl perl 5.41.0 through 5.41.10 (affected · custom)5.39.0 to < 5.40.2-RC1 (affected · custom)5.33.1 to < 5.38.4-RC1 (affected · custom)Default: unaffected CPANSec · cna

Weaknesses

2
  • CWE-122 CWE-122 Heap-based Buffer Overflow (CPANSec · cna)
  • CWE-787 CWE-787 Out-of-bounds Write (CPANSec · cna)

References

6

Provider assertions

3

CPANSec · cna

Perl is vulnerable to a heap buffer overflow when transliterating non-ASCII bytes

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
c9ff3b8c93615ee896a93975f43a3fed1d2f0aca28a6bda89c02a3d7c1841077
Ingested
23 Sep 2026, 08:31:43 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected