Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.4%top 64%

CVE-2026-13221: CWE-190 Integer Overflow or Wraparound in SHAY perl

0
Critical
VulnerabilityCVE-2026-13221cvecve-2026-13221cwe-190
Published: 07/13/2026 (07/13/2026, 15:40:11 UTC)
Source: CVE Database V5
Vendor/Project: SHAY
Product: perl

Description

Perl versions up to 5.43.9 contain an integer overflow vulnerability in the regular expression engine when compiling alternations of more than 65535 fixed string branches into a trie. This overflow causes the match decision table to be truncated silently, resulting in incorrect regex matches that can produce false positives and false negatives. Such incorrect matching can lead to improper access or filtering decisions.

CVSS v3.1

Score 9.1critical

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

Affected software

GitHub Actionsmore threats →cve
perl
pkg:github/perl
Affected versions
<=5.43.9

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: 07/20/2026, 19:19:37 UTC

Technical Analysis

CVE-2026-13221 is an integer overflow vulnerability (CWE-190) in Perl's regular expression engine affecting versions up to 5.43.9. When a regex pattern includes an alternation with more than 65535 fixed string branches compiled into a trie, a 16-bit field storing the delta between the first branch and the shared tail overflows. This truncates the trie's match decision table without warning or error, causing the regex engine to produce silently incorrect matches. The vulnerability impacts the integrity of regex matching, potentially leading to false positive and false negative matches, which can affect access control or filtering mechanisms relying on these patterns.

Potential Impact

The vulnerability causes the Perl regex engine to produce incorrect matching results, including false positives and false negatives, without any warning. This can lead to security controls based on regex patterns making incorrect decisions, potentially allowing unauthorized access or blocking legitimate requests. The CVSS score of 9.1 indicates a critical severity with high impact on integrity and availability, exploitable remotely without privileges or user interaction.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid using regex patterns with more than 65535 fixed string branches in alternations. Review and test regex patterns that gate access or filtering decisions to ensure correctness. Monitor vendor communications for official patches or updates.

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-06-24T15:38:41.010Z
Cvss Version
null
State
PUBLISHED
Remediation Level
null

Threat ID: 6a55134768715ace437935a1

Added to database: 07/13/2026, 16:33:11 UTC

Last enriched: 07/20/2026, 19:19:37 UTC

Last updated: 08/27/2026, 10:52:07 UTC

Views: 198

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