Skip to main content
EPSS 0.2%top 94%

CVE-2026-15534: CWE-190 Integer Overflow or Wraparound

0
Medium
Published: 08/09/2026 (08/09/2026, 17:49:50 UTC)
Source: CVE Database V5

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.

CVSS v3.1

Score 5.7medium

Attack Vector
Local
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
High
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H

Affected software

GitHub Actionsmore threats →cve
perl
pkg:github/perl
Affected versions
>=0 <=5.45.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/17/2026, 14:56:38 UTC

Technical Analysis

CVE-2026-15534 describes an integer overflow or wraparound in Perl's regular expression engine (S_regmatch) affecting versions up to 5.45.1. The superlinear cache used during regex matching calculates a bit count based on the subject length and number of participating WHILEM nodes without checking for overflow of the signed 32-bit integer. For example, a subject of approximately 286 million bytes matched against a pattern with 15 nodes causes the bit count to overflow, resulting in an undersized cache allocation. Subsequent indexing into this cache leads to out-of-bounds heap reads and writes, which can crash the process or corrupt heap memory. This vulnerability involves CWE-190 (Integer Overflow), CWE-125 (Out-of-bounds Read), and CWE-787 (Out-of-bounds Write).

Potential Impact

An attacker who can supply a specially crafted large input string to the regex engine can trigger out-of-bounds memory accesses, potentially causing a denial of service via process crash or heap corruption. There is no indication of confidentiality impact, but integrity and availability are affected due to heap corruption and crashes. Exploitation requires local access with the ability to invoke regex matching on large inputs and has high attack complexity due to the need for very large input and specific pattern structure.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or temporary workaround is currently documented. Users should avoid processing extremely large input strings with complex regex patterns until a patch is available.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
CPANSec
Date Reserved
2026-07-12T17:04:25.249Z
State
PUBLISHED

Threat ID: 6a78c3ebbf8831d53908cdaa

Added to database: 08/09/2026, 18:16:11 UTC

Last enriched: 08/17/2026, 14:56:38 UTC

Last updated: 09/23/2026, 13:47:42 UTC

Views: 144

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses