CVE-2026-15534 Details
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.
A vulnerability in Perl's regular expression engine, present in versions through 5.45.1, allows for out-of-bounds heap reads and writes. This issue arises from an undersized superlinear cache in the function S_regmatch, which can lead to heap memory corruption or process crashes. The vulnerability is triggered when a subject string of a certain size is matched against a pattern with multiple participating nodes, causing the cache to overflow and be accessed incorrectly.
Users can upgrade to Perl version 5.45.2 or later, where this vulnerability has been addressed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Aug 12, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | CPANSec |
| CWE-190 | Integer Overflow or Wraparound | CPANSec |
| CWE-787 | Out-of-bounds Write | CPANSec |
Affected Products
No affected product data is available for this CVE.
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 23, 2026 | CVE Translated | [email protected] |
| Sep 8, 2026 | CVE Modified | CPANSec |
| Sep 8, 2026 | CVE Modified | CVE |
| Aug 12, 2026 | CVE Modified | CISA-ADP |
| Aug 9, 2026 | CVE Modified | CVE |
| Aug 9, 2026 | CVE Modified | CVE |
| Aug 9, 2026 | New CVE Received | CPANSec |