CVE-2026-13221
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
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.525% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:28:52.703Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 9.1 · published by [email protected]CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Assessment source · checked 2026-11-19T12:41:55.322Z
CVSS 3.1 · 9.1 · published by 134c704f-9b21-4f2e-91b3-4a467353bcc0CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Assessment source · checked 2026-11-19T12:41:55.322Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:28:52.703Z | CISA KEV |
| cvss | verified | 2026-11-19T12:41:55.322Z | NVD |
| epss | verified | 2026-11-19T16:04:46.721Z | FIRST EPSS |
| patches | unknown | unknown | unknown |
| affected | verified | 2026-11-19T12:58:07.658Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:58:07.658Z | CVE Program |
Affected versions and configuration
Not specified; modules: perl; default status: unaffected: 0 to < 5.40.5-RC1 [affected; scheme: custom]; 5.41.0 to < 5.42.3-RC1 [affected; scheme: custom]; 5.43.0 to < 5.43.10 [affected; scheme: custom]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"repo": "https://github.com/Perl/perl5",
"modules": [
"perl"
],
"product": "Not specified",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "5.40.5-RC1",
"versionType": "custom"
},
{
"status": "affected",
"version": "5.41.0",
"lessThan": "5.42.3-RC1",
"versionType": "custom"
},
{
"status": "affected",
"version": "5.43.0",
"lessThan": "5.43.10",
"versionType": "custom"
}
],
"packageURL": "pkg:cpan/perl",
"packageName": "perl",
"programFiles": [
"regcomp_study.c"
],
"collectionURL": "https://cpan.org/modules",
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "Perl_study_chunk"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "http://www.openwall.com/lists/oss-security/2026/07/13/5"
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2026-07-13T19:30:45.640Z"
}
},
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"cvssV3_1": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 9.1,
"attackVector": "NETWORK",
"baseSeverity": "CRITICAL",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H",
"integrityImpact": "HIGH",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "HIGH",
"privilegesRequired": "NONE",
"confidentialityImpact": "NONE"
}
},
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-13221",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-07-14T13:33:13.127997Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-07-14T13:33:18.189Z"
}
},
{
"affected": [
{
"vendor": "Siemens",
"product": "SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0)",
"versions": [
{
"status": "affected",
"version": "V3.1.7",
"lessThan": "*",
"versionType": "custom"
}
],
"defaultStatus": "unknown"
},
{
"vendor": "Siemens",
"product": "SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0)",
"versions": [
{
"status": "affected",
"version": "V3.1.7",
"lessThan": "*",
"versionType": "custom"
}
],
"defaultStatus": "unknown"
},
{
"vendor": "Siemens",
"product": "SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0)",
"versions": [
{
"status": "affected",
"version": "V3.1.7",
"lessThan": "*",
"versionType": "custom"
}
],
"defaultStatus": "unknown"
},
{
"vendor": "Siemens",
"product": "SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0)",
"versions": [
{
"status": "affected",
"version": "V3.1.7",
"lessThan": "*",
"versionType": "custom"
}
],
"defaultStatus": "unknown"
},
{
"vendor": "Siemens",
"product": "SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0)",
"versions": [
{
"status": "affected",
"version": "V3.1.7",
"lessThan": "*",
"versionType": "custom"
}
],
"defaultStatus": "unknown"
}
],
"x_adpType": "supplier",
"references": [
{
"url": "https://cert-portal.siemens.com/productcert/html/ssa-457936.html"
}
],
"providerMetadata": {
"orgId": "0b142b55-0307-4c5a-b3c9-f314f3fb7c5e",
"shortName": "siemens-SADP",
"dateUpdated": "2026-11-10T12:40:45.861Z"
}
}
]
}Archived source JSONNVD · nvd-cpe · full conditions
[
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:perl:perl:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "3114EB35-3A49-4B90-9577-C80B1422D531",
"versionEndIncluding": "5.43.9"
}
],
"operator": "OR"
}
]
}
]Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
No correction has been verified in the connected records. This does not mean the system is secure or that no vendor correction exists.
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- NVDConsulted: 2026-11-19T12:41:55.322ZArchived source JSON
Source publication: 2026-07-13T17:16:48.923Z
Source modification: 2026-11-10T13:18:25.890ZDocument fingerprint
de9979e917a4c524eda6ca5ec39ddcd6a0f044aba40dc29faaf1686342446532 - CVE ProgramConsulted: 2026-11-19T12:58:07.658ZArchived source JSON
Source publication: 2026-07-13T15:40:11.035Z
Source modification: 2026-11-10T12:40:45.861ZDocument fingerprint
7add764bf33f355a52808a1211334e18121d9e21354162f625adce6e2693ed16 - CISA KEVConsulted: 2026-11-19T17:28:52.703ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:46.721ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
69abcadbe6437744f7505029e8b9eafbf6843c635c28ef43ad135bafe8656d70
Official status history
- UNKNOWN → PUBLISHED · · evidence