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…

CVE-2026-19487: CWE-670 Always-Incorrect Control Flow Implementation

0
Medium
VulnerabilityCVE-2026-19487cvecve-2026-19487cwe-670
Published: 08/13/2026 (08/13/2026, 15:51:04 UTC)
Source: CVE Database V5

Description

CVE-2026-19487 is a vulnerability in Perl versions from 5.9.4 up to but not including 5.41.9 where incorrect regular expression match results occur due to a stale failure flag in the Aho-Corasick prescan. This flaw causes the prescan to end early, potentially missing valid matches or matching on incorrect branches. This can lead to incorrect access or filtering decisions based on the faulty match results.

Affected software

GitHub Actionsmore threats →cve
perl
pkg:github/perl
Affected versions
>=5.9.4 <5.41.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: 08/13/2026, 16:14:59 UTC

Technical Analysis

This vulnerability arises from an always-incorrect control flow implementation (CWE-670) in Perl's regular expression engine. Specifically, the Aho-Corasick prescan in S_find_byclass uses a failure flag to track failing transitions, but once set, the flag is not cleared by later successful transitions. As a result, the prescan may stop prematurely, missing earlier candidate matches. For example, the pattern alternation 'ABCF|BCDE|C' on the string 'ABCDE' incorrectly matches 'C' at offset 2 instead of 'BCDE'. This flaw affects Perl versions starting at 5.9.4 through versions before 5.41.9.

Potential Impact

The vulnerability causes Perl's regex engine to produce incorrect match results, which can lead to wrong access control or filtering decisions in applications relying on these matches. This may result in unintended behavior or security policy bypasses where regex matching is critical.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or temporary workaround is provided in the available data. Users should monitor vendor communications for patches addressing this issue.

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-08-10T16:35:50.763Z
Cvss Version
null
State
PUBLISHED
Remediation Level
null

Threat ID: 6a7de96abf8831d5396b0490

Added to database: 08/13/2026, 15:57:30 UTC

Last enriched: 08/13/2026, 16:14:59 UTC

Last updated: 08/13/2026, 16:23:55 UTC

Views: 4

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