Skip to content
This page tracks the Ubuntu fix status. The vulnerability itself is described on the main CVE page. View CVE-2026-13221 →
Unrated

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...

UBUNTU-CVE-2026-13221 First seen on SecPulse

Affected packages

PackageAffected → Fixed
Ubuntu:Pro:14.04:LTSperl
< 5.18.2-2ubuntu1.7+esm8→ 5.18.2-2ubuntu1.7+esm8
Ubuntu:Pro:16.04:LTSperl
< 5.22.1-9ubuntu0.9+esm3→ 5.22.1-9ubuntu0.9+esm3
Ubuntu:Pro:18.04:LTSperl
< 5.26.1-6ubuntu0.7+esm3→ 5.26.1-6ubuntu0.7+esm3
Ubuntu:Pro:20.04:LTSperl
< 5.30.0-9ubuntu0.5+esm3→ 5.30.0-9ubuntu0.5+esm3
Ubuntu:22.04:LTSperl
< 5.34.0-3ubuntu1.8→ 5.34.0-3ubuntu1.8
Ubuntu:24.04:LTSperl
< 5.38.2-3.2ubuntu0.4→ 5.38.2-3.2ubuntu0.4
Ubuntu:26.04:LTSperl
< 5.40.1-7ubuntu0.3→ 5.40.1-7ubuntu0.3
Original description The description as published by the source.

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.

Source: OSV.dev (Open Source Vulnerabilities) OSV

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details