CVE-2026-13221
published critical CVSS 3.1 · 9.1Perl 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
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | perl0 to < 5.40.5-RC1 · 5.41.0 to < 5.42.3-RC1 · 5.43.0 to < 5.43.10 · Other versions: unaffected | Affected | Not stated | CPANSec |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0)V3.1.7 and later · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0)V3.1.7 and later · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0)V3.1.7 and later · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Amazon Linux | AL2 | Release evaluationALAS2-2026-3997 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3211 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | perl | Advisory build | 4:5.26.3-423.el8_10.1 | ALSA-2026:67162 |
| Alpine Linux | v3.24 | perl | Fixed | 5.42.2-r1 | Package fix record |
Show 100 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0)V3.1.7 and later · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0)V3.1.7 and later · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Debian | bookworm | perl | Advisory build | 5.36.0-7+deb12u4 | DLA-4821-1 |
| Oracle Linux | 10 | perlaarch64 | Advisory build | 4:5.40.2-515.el10_2 | ELSA-2026-67156-0 |
| Red Hat Enterprise Linux | RHEL-10 | perlaarch64 | Advisory build | 4:5.40.2-515.el10_2 | RHSA-2026:67156 |
| SUSE / openSUSE | SLE-16 | perlaarch64 | Advisory build | 5.42.0-160000.3.1 | SUSE-SU-2026:22847-1 |
| Ubuntu | bionic | perl | Advisory build | 5.26.1-6ubuntu0.7+esm3 | USN-8675-1 |
| AlmaLinux | 8 | perl | Advisory build | 4:5.32.1-475.module_el8.10.0+4278+b5f6cf5f | ALSA-2026:67278 |
| AlmaLinux | 9 | perl | Advisory build | 4:5.32.1-484.el9_8 | ALSA-2026:67155 |
| Oracle Linux | 10 | perlx86_64 | Advisory build | 4:5.40.2-515.el10_2 | ELSA-2026-67156-0 |
| Oracle Linux | 8 | perlaarch64 | Advisory build | 4:5.26.3-423.el8_10.1 | ELSA-2026-67162-0 |
| Oracle Linux | 8 | perlaarch64 · perl · 5.32b | Advisory build | 4:5.32.1-475.module+el8.10.0+91030+ba299e6e | ELSA-2026-67278-0 |
| Oracle Linux | 8 | perlx86_64 | Advisory build | 4:5.26.3-423.el8_10.1 | ELSA-2026-67162-0 |
| Oracle Linux | 8 | perlx86_64 · perl · 5.32b | Advisory build | 4:5.32.1-475.module+el8.10.0+91030+ba299e6e | ELSA-2026-67278-0 |
| Oracle Linux | 9 | perlaarch64 | Advisory build | 4:5.32.1-484.el9_8 | ELSA-2026-67155-0 |
| Oracle Linux | 9 | perlx86_64 | Advisory build | 4:5.32.1-484.el9_8 | ELSA-2026-67155-0 |
| Red Hat Enterprise Linux | RHEL-10 | perlppc64le | Advisory build | 4:5.40.2-515.el10_2 | RHSA-2026:67156 |
| Red Hat Enterprise Linux | RHEL-10 | perls390x | Advisory build | 4:5.40.2-515.el10_2 | RHSA-2026:67156 |
| Red Hat Enterprise Linux | RHEL-10 | perlsrc | Advisory build | 4:5.40.2-515.el10_2 | RHSA-2026:67156 |
| Red Hat Enterprise Linux | RHEL-10 | perlx86_64 | Advisory build | 4:5.40.2-515.el10_2 | RHSA-2026:67156 |
| Red Hat Enterprise Linux | RHEL-8 | perlaarch64 | Advisory build | 4:5.26.3-423.el8_10.1 | RHSA-2026:67162 |
| Red Hat Enterprise Linux | RHEL-8 | perlaarch64 | Advisory build | 4:5.32.1-475.module+el8.10.0+24767+f69b15b5 | RHSA-2026:67278 |
| Red Hat Enterprise Linux | RHEL-8 | perlppc64le | Advisory build | 4:5.26.3-423.el8_10.1 | RHSA-2026:67162 |
| Red Hat Enterprise Linux | RHEL-8 | perlppc64le | Advisory build | 4:5.32.1-475.module+el8.10.0+24767+f69b15b5 | RHSA-2026:67278 |
| Red Hat Enterprise Linux | RHEL-8 | perls390x | Advisory build | 4:5.26.3-423.el8_10.1 | RHSA-2026:67162 |
| Red Hat Enterprise Linux | RHEL-8 | perls390x | Advisory build | 4:5.32.1-475.module+el8.10.0+24767+f69b15b5 | RHSA-2026:67278 |
| Red Hat Enterprise Linux | RHEL-8 | perlsrc | Advisory build | 4:5.26.3-423.el8_10.1 | RHSA-2026:67162 |
| Red Hat Enterprise Linux | RHEL-8 | perlsrc | Advisory build | 4:5.32.1-475.module+el8.10.0+24767+f69b15b5 | RHSA-2026:67278 |
| Red Hat Enterprise Linux | RHEL-8 | perlx86_64 | Advisory build | 4:5.26.3-423.el8_10.1 | RHSA-2026:67162 |
| Red Hat Enterprise Linux | RHEL-8 | perlx86_64 | Advisory build | 4:5.32.1-475.module+el8.10.0+24767+f69b15b5 | RHSA-2026:67278 |
| Red Hat Enterprise Linux | RHEL-9 | perlaarch64 | Advisory build | 4:5.32.1-484.el9_8 | RHSA-2026:67155 |
| Red Hat Enterprise Linux | RHEL-9 | perlppc64le | Advisory build | 4:5.32.1-484.el9_8 | RHSA-2026:67155 |
| Red Hat Enterprise Linux | RHEL-9 | perls390x | Advisory build | 4:5.32.1-484.el9_8 | RHSA-2026:67155 |
| Red Hat Enterprise Linux | RHEL-9 | perlsrc | Advisory build | 4:5.32.1-484.el9_8 | RHSA-2026:67155 |
| Red Hat Enterprise Linux | RHEL-9 | perlx86_64 | Advisory build | 4:5.32.1-484.el9_8 | RHSA-2026:67155 |
| SUSE / openSUSE | SLE-16 | perlppc64le | Advisory build | 5.42.0-160000.3.1 | SUSE-SU-2026:22847-1 |
| SUSE / openSUSE | SLE-16 | perls390x | Advisory build | 5.42.0-160000.3.1 | SUSE-SU-2026:22847-1 |
| SUSE / openSUSE | SLE-16 | perlx86_64 | Advisory build | 5.42.0-160000.3.1 | SUSE-SU-2026:22847-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | perlaarch64 | Advisory build | 5.42.0-160000.3.1 | OPENSUSE-SU-2026:21411-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | perlppc64le | Advisory build | 5.42.0-160000.3.1 | OPENSUSE-SU-2026:21411-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | perls390x | Advisory build | 5.42.0-160000.3.1 | OPENSUSE-SU-2026:21411-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | perlx86_64 | Advisory build | 5.42.0-160000.3.1 | OPENSUSE-SU-2026:21411-1 |
| Ubuntu | focal | perl | Advisory build | 5.30.0-9ubuntu0.5+esm3 | USN-8675-1 |
| Ubuntu | jammy | perl | Advisory build | 5.34.0-3ubuntu1.8 | USN-8675-1 |
| Ubuntu | noble | perl | Advisory build | 5.38.2-3.2ubuntu0.4 | USN-8684-1 |
| Ubuntu | resolute | perl | Advisory build | 5.40.1-7ubuntu0.3 | USN-8675-2 |
| Ubuntu | trusty | perl | Advisory build | 5.18.2-2ubuntu1.7+esm8 | USN-8675-1 |
| Ubuntu | xenial | perl | Advisory build | 5.22.1-9ubuntu0.9+esm3 | USN-8675-1 |
| AlmaLinux | 10 | perl-Attribute-Handlers | Advisory build | 1.03-515.el10_2 | ALSA-2026:67156 |
| AlmaLinux | 10 | perl-AutoLoader | Advisory build | 5.74-515.el10_2 | ALSA-2026:67156 |
| AlmaLinux | 10 | perl-AutoSplit | Advisory build | 5.74-515.el10_2 | ALSA-2026:67156 |
| AlmaLinux | 10 | perl-Benchmark | Advisory build | 1.25-515.el10_2 | ALSA-2026:67156 |
| AlmaLinux | 10 | perl-Class-Struct | Advisory build | 0.68-515.el10_2 | ALSA-2026:67156 |
| AlmaLinux | 10 | perl-Config-Extensions | Advisory build | 0.03-515.el10_2 | ALSA-2026:67156 |
| AlmaLinux | 10 | perl-DBM_Filter | Advisory build | 0.06-515.el10_2 | ALSA-2026:67156 |
| AlmaLinux | 10 | perl-Devel-SelfStubber | Advisory build | 1.06-515.el10_2 | ALSA-2026:67156 |
| AlmaLinux | 10 | perl-DirHandle | Advisory build | 1.05-515.el10_2 | ALSA-2026:67156 |
| AlmaLinux | 10 | perl-Dumpvalue | Advisory build | 2.27-515.el10_2 | ALSA-2026:67156 |
| AlmaLinux | 10 | perl-English | Advisory build | 1.11-515.el10_2 | ALSA-2026:67156 |
| AlmaLinux | 10 | perl-ExtUtils-Constant | Advisory build | 0.25-515.el10_2 | ALSA-2026:67156 |
| AlmaLinux | 10 | perl-ExtUtils-Embed | Advisory build | 1.35-515.el10_2 | ALSA-2026:67156 |
| AlmaLinux | 10 | perl-ExtUtils-Miniperl | Advisory build | 1.14-515.el10_2 | ALSA-2026:67156 |
| AlmaLinux | 10 | perl-File-Basename | Advisory build | 2.86-515.el10_2 | ALSA-2026:67156 |
| AlmaLinux | 10 | perl-File-Compare | Advisory build | 1.100.800-515.el10_2 | ALSA-2026:67156 |
| AlmaLinux | 10 | perl-File-Copy | Advisory build | 2.41-515.el10_2 | ALSA-2026:67156 |
| AlmaLinux | 10 | perl-File-Find | Advisory build | 1.44-515.el10_2 | ALSA-2026:67156 |
| AlmaLinux | 10 | perl-File-stat | Advisory build | 1.14-515.el10_2 | ALSA-2026:67156 |
| AlmaLinux | 10 | perl-FileCache | Advisory build | 1.10-515.el10_2 | ALSA-2026:67156 |
| AlmaLinux | 10 | perl-FileHandle | Advisory build | 2.05-515.el10_2 | ALSA-2026:67156 |
| AlmaLinux | 10 | perl-FindBin | Advisory build | 1.54-515.el10_2 | ALSA-2026:67156 |
| AlmaLinux | 10 | perl-Getopt-Std | Advisory build | 1.14-515.el10_2 | ALSA-2026:67156 |
| AlmaLinux | 10 | perl-I18N-Collate | Advisory build | 1.02-515.el10_2 | ALSA-2026:67156 |
| AlmaLinux | 10 | perl-I18N-LangTags | Advisory build | 0.45-515.el10_2 | ALSA-2026:67156 |
| AlmaLinux | 10 | perl-IPC-Open3 | Advisory build | 1.22-515.el10_2 | ALSA-2026:67156 |
| AlmaLinux | 10 | perl-Locale-Maketext-Simple | Advisory build | 1:0.21-515.el10_2 | ALSA-2026:67156 |
| AlmaLinux | 10 | perl-Math-Complex | Advisory build | 1.62-515.el10_2 | ALSA-2026:67156 |
| AlmaLinux | 10 | perl-Memoize | Advisory build | 1.16-515.el10_2 | ALSA-2026:67156 |
| AlmaLinux | 10 | perl-Module-Loaded | Advisory build | 1:0.08-515.el10_2 | ALSA-2026:67156 |
| AlmaLinux | 10 | perl-NEXT | Advisory build | 0.69-515.el10_2 | ALSA-2026:67156 |
| AlmaLinux | 10 | perl-Net | Advisory build | 1.04-515.el10_2 | ALSA-2026:67156 |
| AlmaLinux | 10 | perl-Pod-Functions | Advisory build | 1.14-515.el10_2 | ALSA-2026:67156 |
| AlmaLinux | 10 | perl-Pod-Html | Advisory build | 1.35-515.el10_2 | ALSA-2026:67156 |
| AlmaLinux | 10 | perl-Safe | Advisory build | 2.46-515.el10_2 | ALSA-2026:67156 |
| AlmaLinux | 10 | perl-Search-Dict | Advisory build | 1.07-515.el10_2 | ALSA-2026:67156 |
| AlmaLinux | 10 | perl-SelectSaver | Advisory build | 1.02-515.el10_2 | ALSA-2026:67156 |
| AlmaLinux | 10 | perl-SelfLoader | Advisory build | 1.27-515.el10_2 | ALSA-2026:67156 |
| AlmaLinux | 10 | perl-Symbol | Advisory build | 1.09-515.el10_2 | ALSA-2026:67156 |
| AlmaLinux | 10 | perl-Term-Complete | Advisory build | 1.403-515.el10_2 | ALSA-2026:67156 |
| AlmaLinux | 10 | perl-Term-ReadLine | Advisory build | 1.17-515.el10_2 | ALSA-2026:67156 |
| AlmaLinux | 10 | perl-Test | Advisory build | 1.31-515.el10_2 | ALSA-2026:67156 |
| AlmaLinux | 10 | perl-Text-Abbrev | Advisory build | 1.02-515.el10_2 | ALSA-2026:67156 |
| AlmaLinux | 10 | perl-Thread | Advisory build | 3.05-515.el10_2 | ALSA-2026:67156 |
| AlmaLinux | 10 | perl-Thread-Semaphore | Advisory build | 2.13-515.el10_2 | ALSA-2026:67156 |
| AlmaLinux | 10 | perl-Tie | Advisory build | 4.6-515.el10_2 | ALSA-2026:67156 |
| AlmaLinux | 10 | perl-Tie-File | Advisory build | 1.09-515.el10_2 | ALSA-2026:67156 |
| AlmaLinux | 10 | perl-Tie-Memoize | Advisory build | 1.1-515.el10_2 | ALSA-2026:67156 |
| AlmaLinux | 10 | perl-Time | Advisory build | 1.04-515.el10_2 | ALSA-2026:67156 |
| AlmaLinux | 10 | perl-Unicode-UCD | Advisory build | 0.78-515.el10_2 | ALSA-2026:67156 |
| AlmaLinux | 10 | perl-User-pwent | Advisory build | 1.05-515.el10_2 | ALSA-2026:67156 |
| AlmaLinux | 10 | perl-autouse | Advisory build | 1.11-515.el10_2 | ALSA-2026:67156 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.1 / 10
- Severity
- critical
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| perl | 0 to < 5.40.5-RC1 (affected · custom)5.41.0 to < 5.42.3-RC1 (affected · custom)5.43.0 to < 5.43.10 (affected · custom)Default: unaffected | CPANSec · cna | |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) | V3.1.7 and later (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) | V3.1.7 and later (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) | V3.1.7 and later (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) | V3.1.7 and later (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) | V3.1.7 and later (affected · custom)Default: unknown | siemens-SADP · adp |
Weaknesses
1- CWE-190 CWE-190 Integer Overflow or Wraparound
References
4Provider assertions
4CPANSec · cna
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
siemens-SADP · adp
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7add764bf33f355a52808a1211334e18121d9e21354162f625adce6e2693ed16
- Ingested
- 10 Nov 2026, 12:46:15 UTC
- Source record
- Official CVE record