CVE-2026-13221: perl (Perl module) · Integer Overflow or Wraparound
Affects perl (Perl module)Source CVE Database V5
Not known to be exploited · CVSS 9.1 Critical · fixed in 5.43.10 : patch perl (Perl module) as a priority.
Data as of 26 Nov 2026, 14:58 UTC
Thin evidence
One scorer or none| CISA-ADP | CVSS 3.1 | 9.1 |
|---|
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 45% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 5.43.10, 5.42.3-RC1, 5.40.5-RC1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 13 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Nov 2026.
What to do
Upgrade perl (Perl module) to 5.43.10, 5.42.3-RC1 or 5.40.5-RC1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| perl | Affected
| Fixed in
|
| perl | Affected
| Fixed in
|
| perl | Affected
| Fixed in
|
CPANperlpkg:cpan/perlOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
If you cannot patch yet, avoid using regex patterns with more than 65535 fixed string branches in alternations. Review and test regex patterns that gate access or filtering decisions to ensure correctness. Monitor vendor communications for official patches or updates.
Description
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.