Bug 2520642 - CVE-2026-13221 perl: Perl: Incorrect regular expression processing via large regular expressions [fedora-43]
Summary: CVE-2026-13221 perl: Perl: Incorrect regular expression processing via large ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: perl
Version: 43
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Jitka Plesnikova
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["8183e938-b12e-4634-b1d6-b...
Depends On:
Blocks: CVE-2026-13221
TreeView+ depends on / blocked
 
Reported: 2026-08-20 17:55 UTC by subhro
Modified: 2026-08-21 05:42 UTC (History)
6 users (show)

Fixed In Version: perl-5.42.3-524.fc43
Clone Of:
Environment:
Last Closed: 2026-08-21 05:42:49 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description subhro 2026-08-20 17:55:19 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

Perl versions through 5.43.9 produce silently incorrect regular expression matches when an alternation of more than 65535 fixed string branches is compiled into a trie in Perl_study_chunk.

When such branches are combined into a trie, the delta between the first branch and the shared tail is stored in a 16-bit field. A branch count above 65535 overflows the field, and the trie's match decision table is truncated with no warning or error.

A pattern of this shape produces false positive matches (matching strings it should not) and false negative matches (failing to match strings it should). When such a pattern gates an access or filtering decision, the result is wrong.


Note You need to log in before you can comment on or make changes to this bug.