CVE-2026-15534
published medium CVSS 3.1 · 5.7Perl versions through 5.45.1 have out-of-bounds heap reads and writes during regular expression matching via an undersized superlinear cache in S_regmatch
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | perl0 through 5.45.1 · Other versions: unaffected | Affected | Not stated | CPANSec |
| Amazon Linux | AL2 | Release evaluationALAS2-2026-4026 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3279 | Fixed | Not stated | Amazon Linux assessment |
| Ubuntu | bionic | perl | Advisory build | 5.26.1-6ubuntu0.7+esm4 | USN-8736-1 |
| Amazon Linux | AL2 | perlaarch64 | Listed in advisory | Not stated | ALAS2-2026-4026 |
| Ubuntu | focal | perl | Advisory build | 5.30.0-9ubuntu0.5+esm4 | USN-8736-1 |
| Ubuntu | jammy | perl | Advisory build | 5.34.0-3ubuntu1.9 | USN-8736-1 |
| Ubuntu | noble | perl | Advisory build | 5.38.2-3.2ubuntu0.6 | USN-8736-2 |
Show 40 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | resolute | perl | Advisory build | 5.40.1-7ubuntu0.2 | USN-8736-1 |
| Ubuntu | trusty | perl | Advisory build | 5.18.2-2ubuntu1.7+esm9 | USN-8736-1 |
| Ubuntu | xenial | perl | Advisory build | 5.22.1-9ubuntu0.9+esm4 | USN-8736-1 |
| Ubuntu | bionic | libperl5.26 | Advisory build | 5.26.1-6ubuntu0.7+esm4 | USN-8736-1 |
| Ubuntu | bionic | perl-base | Advisory build | 5.26.1-6ubuntu0.7+esm4 | USN-8736-1 |
| Ubuntu | bionic | perl-debug | Advisory build | 5.26.1-6ubuntu0.7+esm4 | USN-8736-1 |
| Ubuntu | bionic | perl-modules-5.26 | Advisory build | 5.26.1-6ubuntu0.7+esm4 | USN-8736-1 |
| Ubuntu | focal | libperl5.30 | Advisory build | 5.30.0-9ubuntu0.5+esm4 | USN-8736-1 |
| Ubuntu | focal | perl-base | Advisory build | 5.30.0-9ubuntu0.5+esm4 | USN-8736-1 |
| Ubuntu | focal | perl-debug | Advisory build | 5.30.0-9ubuntu0.5+esm4 | USN-8736-1 |
| Ubuntu | focal | perl-modules-5.30 | Advisory build | 5.30.0-9ubuntu0.5+esm4 | USN-8736-1 |
| Ubuntu | jammy | libperl5.34 | Advisory build | 5.34.0-3ubuntu1.9 | USN-8736-1 |
| Ubuntu | jammy | perl-base | Advisory build | 5.34.0-3ubuntu1.9 | USN-8736-1 |
| Ubuntu | jammy | perl-debug | Advisory build | 5.34.0-3ubuntu1.9 | USN-8736-1 |
| Ubuntu | jammy | perl-modules-5.34 | Advisory build | 5.34.0-3ubuntu1.9 | USN-8736-1 |
| Ubuntu | noble | libperl5.38t64 | Advisory build | 5.38.2-3.2ubuntu0.6 | USN-8736-2 |
| Ubuntu | noble | perl-base | Advisory build | 5.38.2-3.2ubuntu0.6 | USN-8736-2 |
| Ubuntu | noble | perl-debug | Advisory build | 5.38.2-3.2ubuntu0.6 | USN-8736-2 |
| Ubuntu | noble | perl-modules-5.38 | Advisory build | 5.38.2-3.2ubuntu0.6 | USN-8736-2 |
| Ubuntu | resolute | libperl5.40 | Advisory build | 5.40.1-7ubuntu0.2 | USN-8736-1 |
| Ubuntu | resolute | perl-base | Advisory build | 5.40.1-7ubuntu0.2 | USN-8736-1 |
| Ubuntu | resolute | perl-debug | Advisory build | 5.40.1-7ubuntu0.2 | USN-8736-1 |
| Ubuntu | resolute | perl-modules-5.40 | Advisory build | 5.40.1-7ubuntu0.2 | USN-8736-1 |
| Ubuntu | trusty | libcgi-fast-perl | Advisory build | 5.18.2-2ubuntu1.7+esm9 | USN-8736-1 |
| Ubuntu | trusty | libperl5.18 | Advisory build | 5.18.2-2ubuntu1.7+esm9 | USN-8736-1 |
| Ubuntu | trusty | perl-base | Advisory build | 5.18.2-2ubuntu1.7+esm9 | USN-8736-1 |
| Ubuntu | trusty | perl-debug | Advisory build | 5.18.2-2ubuntu1.7+esm9 | USN-8736-1 |
| Ubuntu | trusty | perl-modules | Advisory build | 5.18.2-2ubuntu1.7+esm9 | USN-8736-1 |
| Ubuntu | xenial | libperl5.22 | Advisory build | 5.22.1-9ubuntu0.9+esm4 | USN-8736-1 |
| Ubuntu | xenial | perl-base | Advisory build | 5.22.1-9ubuntu0.9+esm4 | USN-8736-1 |
| Ubuntu | xenial | perl-debug | Advisory build | 5.22.1-9ubuntu0.9+esm4 | USN-8736-1 |
| Ubuntu | xenial | perl-modules-5.22 | Advisory build | 5.22.1-9ubuntu0.9+esm4 | USN-8736-1 |
| Amazon Linux | AL2 | perli686 | Listed in advisory | Not stated | ALAS2-2026-4026 |
| Amazon Linux | AL2 | perlnoarch | Listed in advisory | Not stated | ALAS2-2026-4026 |
| Amazon Linux | AL2 | perlsrc | Listed in advisory | Not stated | ALAS2-2026-4026 |
| Amazon Linux | AL2 | perlx86_64 | Listed in advisory | Not stated | ALAS2-2026-4026 |
| Amazon Linux | AL2023 | perlaarch64 | Listed in advisory | Not stated | ALAS2023-2026-3279 |
| Amazon Linux | AL2023 | perlnoarch | Listed in advisory | Not stated | ALAS2023-2026-3279 |
| Amazon Linux | AL2023 | perlsrc | Listed in advisory | Not stated | ALAS2023-2026-3279 |
| Amazon Linux | AL2023 | perlx86_64 | Listed in advisory | Not stated | ALAS2023-2026-3279 |
Description
Perl versions through 5.45.1 have out-of-bounds heap reads and writes during regular expression matching via an undersized superlinear cache in S_regmatch. The regex engine's superlinear cache holds one bit per subject position for each participating WHILEM node, so the bit count is the subject length plus one times the number of nodes. Nothing checks that product for positive overflow of the signed 32-bit count: a 286331153 byte subject matched against a pattern with 15 participating nodes stores the count as 14, leaving a two byte cache. The cache is then indexed from the real match position and node number, so reads go past the end of the allocation, and on failure CACHEsayNO sets a bit past it. A caller that matches an attacker controlled subject of this size against a pattern of this shape can crash the process or corrupt heap memory.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.7 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| perl | 0 through 5.45.1 (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
3- CWE-190 CWE-190 Integer Overflow or Wraparound
- CWE-125 CWE-125 Out-of-bounds Read
- CWE-787 CWE-787 Out-of-bounds Write
References
4Provider assertions
3CPANSec · cna
Perl versions through 5.45.1 have out-of-bounds heap reads and writes during regular expression matching via an undersized superlinear cache in S_regmatch
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f8650ab8c801d2b558d33eac5120739b65e7cd8f69bfc48de5eeecbf1770b610
- Ingested
- 23 Sep 2026, 09:02:16 UTC
- Source record
- Official CVE record