CVE-2026-8376

EUVD-2026-31772
Perl versions through 5.43.10 have a heap buffer overflow when compiling regular expressions with a repeated fixed string on 32-bit builds.

Perl_study_chunk in regcomp_study.c checked the size of the joined substring buffer in characters rather than bytes. For a quantified fixed substring with a large minimum count, the byte length mincount * l could overflow SSize_t, producing an undersized SvGROW allocation; the subsequent copy writes past the end of the buffer.

A caller that compiles an attacker-controlled regular expression on a 32-bit perl build triggers a heap buffer overflow at compile time.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
9.8 CRITICAL
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 31%
Affected Products (NVD)
VendorProductVersion
perlperl
𝑥
≤ 5.43.10
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
perl
bookworm
no-dsa
bookworm (security)
vulnerable
bullseye
postponed
bullseye (security)
vulnerable
forky
5.40.1-8
fixed
sid
5.40.1-8
fixed
trixie
no-dsa
Amazon Linux logo
Amazon Linux Releases
Amazon Package
Release
perl
Amazon Linux 2
4:5.16.3-299.amzn2.0.4
fixed
Amazon Linux 2023
4:5.32.1-477.amzn2023.0.9
fixed
perl-Attribute-Handlers
Amazon Linux 2023
0:1.01-477.amzn2023.0.9
fixed
perl-AutoLoader
Amazon Linux 2023
0:5.74-477.amzn2023.0.9
fixed
perl-AutoSplit
Amazon Linux 2023
0:5.74-477.amzn2023.0.9
fixed
perl-B
Amazon Linux 2023
0:1.80-477.amzn2023.0.9
fixed
perl-B-debuginfo
Amazon Linux 2023
0:1.80-477.amzn2023.0.9
fixed
perl-Benchmark
Amazon Linux 2023
0:1.23-477.amzn2023.0.9
fixed
perl-CPAN
Amazon Linux 2
0:1.9800-299.amzn2.0.4
fixed
perl-Class-Struct
Amazon Linux 2023
0:0.66-477.amzn2023.0.9
fixed
perl-Config-Extensions
Amazon Linux 2023
0:0.03-477.amzn2023.0.9
fixed
perl-DBM_Filter
Amazon Linux 2023
0:0.06-477.amzn2023.0.9
fixed
perl-Devel-Peek
Amazon Linux 2023
0:1.28-477.amzn2023.0.9
fixed
perl-Devel-Peek-debuginfo
Amazon Linux 2023
0:1.28-477.amzn2023.0.9
fixed
perl-Devel-SelfStubber
Amazon Linux 2023
0:1.06-477.amzn2023.0.9
fixed
perl-DirHandle
Amazon Linux 2023
0:1.05-477.amzn2023.0.9
fixed
perl-Dumpvalue
Amazon Linux 2023
0:2.27-477.amzn2023.0.9
fixed
perl-DynaLoader
Amazon Linux 2023
0:1.47-477.amzn2023.0.9
fixed
perl-English
Amazon Linux 2023
0:1.11-477.amzn2023.0.9
fixed
perl-Errno
Amazon Linux 2023
0:1.30-477.amzn2023.0.9
fixed
perl-ExtUtils-CBuilder
Amazon Linux 2
1:0.28.2.6-299.amzn2.0.4
fixed
perl-ExtUtils-Constant
Amazon Linux 2023
0:0.25-477.amzn2023.0.9
fixed
perl-ExtUtils-Embed
Amazon Linux 2
0:1.30-299.amzn2.0.4
fixed
Amazon Linux 2023
0:1.35-477.amzn2023.0.9
fixed
perl-ExtUtils-Install
Amazon Linux 2
0:1.58-299.amzn2.0.4
fixed
perl-ExtUtils-Miniperl
Amazon Linux 2023
0:1.09-477.amzn2023.0.9
fixed
perl-Fcntl
Amazon Linux 2023
0:1.13-477.amzn2023.0.9
fixed
perl-Fcntl-debuginfo
Amazon Linux 2023
0:1.13-477.amzn2023.0.9
fixed
perl-File-Basename
Amazon Linux 2023
0:2.85-477.amzn2023.0.9
fixed
perl-File-Compare
Amazon Linux 2023
0:1.100.600-477.amzn2023.0.9
fixed
perl-File-Copy
Amazon Linux 2023
0:2.34-477.amzn2023.0.9
fixed
perl-File-DosGlob
Amazon Linux 2023
0:1.12-477.amzn2023.0.9
fixed
perl-File-DosGlob-debuginfo
Amazon Linux 2023
0:1.12-477.amzn2023.0.9
fixed
perl-File-Find
Amazon Linux 2023
0:1.37-477.amzn2023.0.9
fixed
perl-File-stat
Amazon Linux 2023
0:1.09-477.amzn2023.0.9
fixed
perl-FileCache
Amazon Linux 2023
0:1.10-477.amzn2023.0.9
fixed
perl-FileHandle
Amazon Linux 2023
0:2.03-477.amzn2023.0.9
fixed
perl-FindBin
Amazon Linux 2023
0:1.51-477.amzn2023.0.9
fixed
perl-GDBM_File
Amazon Linux 2023
0:1.18-477.amzn2023.0.9
fixed
perl-GDBM_File-debuginfo
Amazon Linux 2023
0:1.18-477.amzn2023.0.9
fixed
perl-Getopt-Std
Amazon Linux 2023
0:1.12-477.amzn2023.0.9
fixed
perl-Hash-Util
Amazon Linux 2023
0:0.23-477.amzn2023.0.9
fixed
perl-Hash-Util-FieldHash
Amazon Linux 2023
0:1.20-477.amzn2023.0.9
fixed
perl-Hash-Util-FieldHash-debuginfo
Amazon Linux 2023
0:1.20-477.amzn2023.0.9
fixed
perl-Hash-Util-debuginfo
Amazon Linux 2023
0:0.23-477.amzn2023.0.9
fixed
perl-I18N-Collate
Amazon Linux 2023
0:1.02-477.amzn2023.0.9
fixed
perl-I18N-LangTags
Amazon Linux 2023
0:0.44-477.amzn2023.0.9
fixed
perl-I18N-Langinfo
Amazon Linux 2023
0:0.19-477.amzn2023.0.9
fixed
perl-I18N-Langinfo-debuginfo
Amazon Linux 2023
0:0.19-477.amzn2023.0.9
fixed
perl-IO
Amazon Linux 2023
0:1.43-477.amzn2023.0.9
fixed
perl-IO-Zlib
Amazon Linux 2
1:1.10-299.amzn2.0.4
fixed
perl-IO-debuginfo
Amazon Linux 2023
0:1.43-477.amzn2023.0.9
fixed
perl-IPC-Open3
Amazon Linux 2023
0:1.21-477.amzn2023.0.9
fixed
perl-Locale-Maketext-Simple
Amazon Linux 2
1:0.21-299.amzn2.0.4
fixed
Amazon Linux 2023
1:0.21-477.amzn2023.0.9
fixed
perl-Math-Complex
Amazon Linux 2023
0:1.59-477.amzn2023.0.9
fixed
perl-Memoize
Amazon Linux 2023
0:1.03-477.amzn2023.0.9
fixed
perl-Module-CoreList
Amazon Linux 2
1:2.76.02-299.amzn2.0.4
fixed
perl-Module-Loaded
Amazon Linux 2
1:0.08-299.amzn2.0.4
fixed
Amazon Linux 2023
1:0.08-477.amzn2023.0.9
fixed
perl-NDBM_File
Amazon Linux 2023
0:1.15-477.amzn2023.0.9
fixed
perl-NDBM_File-debuginfo
Amazon Linux 2023
0:1.15-477.amzn2023.0.9
fixed
perl-NEXT
Amazon Linux 2023
0:0.67-477.amzn2023.0.9
fixed
perl-Net
Amazon Linux 2023
0:1.02-477.amzn2023.0.9
fixed
perl-ODBM_File
Amazon Linux 2023
0:1.16-477.amzn2023.0.9
fixed
perl-ODBM_File-debuginfo
Amazon Linux 2023
0:1.16-477.amzn2023.0.9
fixed
perl-Object-Accessor
Amazon Linux 2
1:0.42-299.amzn2.0.4
fixed
perl-Opcode
Amazon Linux 2023
0:1.48-477.amzn2023.0.9
fixed
perl-Opcode-debuginfo
Amazon Linux 2023
0:1.48-477.amzn2023.0.9
fixed
perl-POSIX
Amazon Linux 2023
0:1.94-477.amzn2023.0.9
fixed
perl-POSIX-debuginfo
Amazon Linux 2023
0:1.94-477.amzn2023.0.9
fixed
perl-Package-Constants
Amazon Linux 2
1:0.02-299.amzn2.0.4
fixed
perl-Pod-Escapes
Amazon Linux 2
1:1.04-299.amzn2.0.4
fixed
perl-Pod-Functions
Amazon Linux 2023
0:1.13-477.amzn2023.0.9
fixed
perl-Pod-Html
Amazon Linux 2023
0:1.25-477.amzn2023.0.9
fixed
perl-Safe
Amazon Linux 2023
0:2.41-477.amzn2023.0.9
fixed
perl-Search-Dict
Amazon Linux 2023
0:1.07-477.amzn2023.0.9
fixed
perl-SelectSaver
Amazon Linux 2023
0:1.02-477.amzn2023.0.9
fixed
perl-SelfLoader
Amazon Linux 2023
0:1.26-477.amzn2023.0.9
fixed
perl-Symbol
Amazon Linux 2023
0:1.08-477.amzn2023.0.9
fixed
perl-Sys-Hostname
Amazon Linux 2023
0:1.23-477.amzn2023.0.9
fixed
perl-Sys-Hostname-debuginfo
Amazon Linux 2023
0:1.23-477.amzn2023.0.9
fixed
perl-Term-Complete
Amazon Linux 2023
0:1.403-477.amzn2023.0.9
fixed
perl-Term-ReadLine
Amazon Linux 2023
0:1.17-477.amzn2023.0.9
fixed
perl-Test
Amazon Linux 2023
0:1.31-477.amzn2023.0.9
fixed
perl-Text-Abbrev
Amazon Linux 2023
0:1.02-477.amzn2023.0.9
fixed
perl-Thread
Amazon Linux 2023
0:3.05-477.amzn2023.0.9
fixed
perl-Thread-Semaphore
Amazon Linux 2023
0:2.13-477.amzn2023.0.9
fixed
perl-Tie
Amazon Linux 2023
0:4.6-477.amzn2023.0.9
fixed
perl-Tie-File
Amazon Linux 2023
0:1.06-477.amzn2023.0.9
fixed
perl-Tie-Memoize
Amazon Linux 2023
0:1.1-477.amzn2023.0.9
fixed
perl-Time
Amazon Linux 2023
0:1.03-477.amzn2023.0.9
fixed
perl-Time-Piece
Amazon Linux 2
0:1.20.1-299.amzn2.0.4
fixed
Amazon Linux 2023
0:1.3401-477.amzn2023.0.9
fixed
perl-Time-Piece-debuginfo
Amazon Linux 2023
0:1.3401-477.amzn2023.0.9
fixed
perl-Unicode-UCD
Amazon Linux 2023
0:0.75-477.amzn2023.0.9
fixed
perl-User-pwent
Amazon Linux 2023
0:1.03-477.amzn2023.0.9
fixed
perl-autouse
Amazon Linux 2023
0:1.11-477.amzn2023.0.9
fixed
perl-base
Amazon Linux 2023
0:2.27-477.amzn2023.0.9
fixed
perl-blib
Amazon Linux 2023
0:1.07-477.amzn2023.0.9
fixed
perl-core
Amazon Linux 2
0:5.16.3-299.amzn2.0.4
fixed
perl-debugger
Amazon Linux 2023
0:1.56-477.amzn2023.0.9
fixed
perl-debuginfo
Amazon Linux 2
4:5.16.3-299.amzn2.0.4
fixed
Amazon Linux 2023
4:5.32.1-477.amzn2023.0.9
fixed
perl-debugsource
Amazon Linux 2023
4:5.32.1-477.amzn2023.0.9
fixed
perl-deprecate
Amazon Linux 2023
0:0.04-477.amzn2023.0.9
fixed
perl-devel
Amazon Linux 2
4:5.16.3-299.amzn2.0.4
fixed
Amazon Linux 2023
4:5.32.1-477.amzn2023.0.9
fixed
perl-diagnostics
Amazon Linux 2023
0:1.37-477.amzn2023.0.9
fixed
perl-doc
Amazon Linux 2023
0:5.32.1-477.amzn2023.0.9
fixed
perl-encoding-warnings
Amazon Linux 2023
0:0.13-477.amzn2023.0.9
fixed
perl-fields
Amazon Linux 2023
0:2.27-477.amzn2023.0.9
fixed
perl-filetest
Amazon Linux 2023
0:1.03-477.amzn2023.0.9
fixed
perl-if
Amazon Linux 2023
0:0.60.800-477.amzn2023.0.9
fixed
perl-interpreter
Amazon Linux 2023
4:5.32.1-477.amzn2023.0.9
fixed
perl-interpreter-debuginfo
Amazon Linux 2023
4:5.32.1-477.amzn2023.0.9
fixed
perl-less
Amazon Linux 2023
0:0.03-477.amzn2023.0.9
fixed
perl-lib
Amazon Linux 2023
0:0.65-477.amzn2023.0.9
fixed
perl-libnetcfg
Amazon Linux 2023
4:5.32.1-477.amzn2023.0.9
fixed
perl-libs
Amazon Linux 2
4:5.16.3-299.amzn2.0.4
fixed
Amazon Linux 2023
4:5.32.1-477.amzn2023.0.9
fixed
perl-libs-debuginfo
Amazon Linux 2023
4:5.32.1-477.amzn2023.0.9
fixed
perl-locale
Amazon Linux 2023
0:1.09-477.amzn2023.0.9
fixed
perl-macros
Amazon Linux 2
4:5.16.3-299.amzn2.0.4
fixed
Amazon Linux 2023
4:5.32.1-477.amzn2023.0.9
fixed
perl-meta-notation
Amazon Linux 2023
0:5.32.1-477.amzn2023.0.9
fixed
perl-mro
Amazon Linux 2023
0:1.23-477.amzn2023.0.9
fixed
perl-mro-debuginfo
Amazon Linux 2023
0:1.23-477.amzn2023.0.9
fixed
perl-open
Amazon Linux 2023
0:1.12-477.amzn2023.0.9
fixed
perl-overload
Amazon Linux 2023
0:1.31-477.amzn2023.0.9
fixed
perl-overloading
Amazon Linux 2023
0:0.02-477.amzn2023.0.9
fixed
perl-ph
Amazon Linux 2023
0:5.32.1-477.amzn2023.0.9
fixed
perl-sigtrap
Amazon Linux 2023
0:1.09-477.amzn2023.0.9
fixed
perl-sort
Amazon Linux 2023
0:2.04-477.amzn2023.0.9
fixed
perl-subs
Amazon Linux 2023
0:1.03-477.amzn2023.0.9
fixed
perl-tests
Amazon Linux 2
4:5.16.3-299.amzn2.0.4
fixed
Amazon Linux 2023
4:5.32.1-477.amzn2023.0.9
fixed
perl-utils
Amazon Linux 2023
0:5.32.1-477.amzn2023.0.9
fixed
perl-vars
Amazon Linux 2023
0:1.05-477.amzn2023.0.9
fixed
perl-vmsish
Amazon Linux 2023
0:1.04-477.amzn2023.0.9
fixed
Azure Linux logo
Azure Linux Releases
Azure Package
Release
perl
Azure Linux 3.0
0:5.38.2-512.azl3
fixed