Bug 2499727 (CVE-2026-13221) - CVE-2026-13221 perl: Perl: Incorrect regular expression processing via large regular expressions
Summary: CVE-2026-13221 perl: Perl: Incorrect regular expression processing via large ...
Keywords:
Status: NEW
Alias: CVE-2026-13221
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2520641 2520642
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-13 17:01 UTC by OSIDB Bzimport
Modified: 2026-09-14 13:38 UTC (History)
24 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:67155 0 None None None 2026-09-14 13:32:11 UTC
Red Hat Product Errata RHSA-2026:67156 0 None None None 2026-09-14 13:38:45 UTC
Red Hat Product Errata RHSA-2026:67162 0 None None None 2026-09-14 13:37:47 UTC
Red Hat Product Errata RHSA-2026:67278 0 None None None 2026-09-14 13:32:09 UTC

Description OSIDB Bzimport 2026-07-13 17:01:35 UTC
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.

Comment 2 Jon Orris 2026-09-14 13:32:07 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:67278 https://access.redhat.com/errata/RHSA-2026:67278

Comment 3 Jon Orris 2026-09-14 13:32:08 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:67155 https://access.redhat.com/errata/RHSA-2026:67155

Comment 4 Jon Orris 2026-09-14 13:37:44 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:67162 https://access.redhat.com/errata/RHSA-2026:67162

Comment 5 Jon Orris 2026-09-14 13:38:43 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:67156 https://access.redhat.com/errata/RHSA-2026:67156


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