Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-13221

Опубликовано: 13 июл. 2026
Источник: redhat
CVSS3: 5.9
EPSS Низкий

Описание

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.

A flaw was found in Perl. When the Perl regular expression engine processes patterns with a very large number of alternative fixed strings, an internal data field can overflow. This leads to silently incorrect regular expression matches, causing the engine to either match strings it should not (false positives) or fail to match strings it should (false negatives). If these regular expressions are used for security-sensitive operations like access control or data filtering, this flaw could result in incorrect security decisions.

Отчет

Red Hat Product Security has rated this vulnerability moderate as exploiting it requires local access as well as complex buffer overflows to get access to running arbitrary code. Also a successful attack will depend strongly on the script that is housing the vulnerable regular expression. No production script should implicitly trust data and make security decisions, so the impact for a successful exploitation is very low.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 6perlAffected
Red Hat Enterprise Linux 7perlAffected
Red Hat OpenShift AI (RHOAI)rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9Affected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Affected
Red Hat OpenShift Container Platform 5openshift/ose-rhel-coreos-9Affected
Red Hat OpenShift Dev Spacesdevspaces/code-rhel9Affected
Red Hat Enterprise Linux 10perlFixedRHSA-2026:6715614.09.2026
Red Hat Enterprise Linux 8perlFixedRHSA-2026:6716214.09.2026
Red Hat Enterprise Linux 8perlFixedRHSA-2026:6727814.09.2026
Red Hat Enterprise Linux 8perlFixedRHSA-2026:6716214.09.2026

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-625
https://bugzilla.redhat.com/show_bug.cgi?id=2499727perl: Perl: Incorrect regular expression processing via large regular expressions

EPSS

Процентиль: 45%
0.00525
Низкий

5.9 Medium

CVSS3

Связанные уязвимости

CVSS3: 9.1
ubuntu
4 месяца назад

Perl versions before 5.40.5-RC1, from 5.41.0 before 5.42.3-RC1, from 5.43.0 before 5.43.10 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.

CVSS3: 9.1
nvd
4 месяца назад

Perl versions before 5.40.5-RC1, from 5.41.0 before 5.42.3-RC1, from 5.43.0 before 5.43.10 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.

CVSS3: 4
msrc
4 месяца назад

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

CVSS3: 9.1
debian
4 месяца назад

Perl versions before 5.40.5-RC1, from 5.41.0 before 5.42.3-RC1, from 5 ...

rocky
2 месяца назад

Moderate: perl:5.32 security update

EPSS

Процентиль: 45%
0.00525
Низкий

5.9 Medium

CVSS3