{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-13221","published":"2026-07-13T17:16:48.923000Z","last_modified":"2026-11-10T13:18:25.890000Z","status":"Modified","cvss":{"version":"3.1","score":9.1,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-190"],"cpes":[{"criteria":"cpe:2.3:a:perl:perl:*:*:*:*:*:*:*:*","part":"a","vendor":"perl","product":"perl","version_end_including":"5.43.9"}],"cpes_truncated":false,"vendors":["perl"],"products":["perl/perl"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":70,"links":{"html_es":"/es/cve/CVE-2026-13221/","html_en":"/en/cve/CVE-2026-13221/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-13221","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-13221"},"untrusted":{"vendor_name":"Perl","product_name":"Perl","desc_en":"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.\n\nWhen 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.\n\nA 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.","affected":[{"untrusted_vendor":"Siemens","untrusted_product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0)","versions":[]},{"untrusted_vendor":"Siemens","untrusted_product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0)","versions":[]},{"untrusted_vendor":"Siemens","untrusted_product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0)","versions":[]},{"untrusted_vendor":"Siemens","untrusted_product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0)","versions":[]},{"untrusted_vendor":"Siemens","untrusted_product":"SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0)","versions":[]}],"references":[{"url":"https://github.com/Perl/perl5/commit/03f74bbbd3a68350d926ee93d56ee4808c28c4c7.patch","tags":["Patch"]},{"url":"https://github.com/Perl/perl5/issues/23388","tags":["Issue Tracking"]},{"url":"http://www.openwall.com/lists/oss-security/2026/07/13/5","tags":["Mailing List","Patch","Third Party Advisory"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":[]}]},"bulletins":[{"source":"siemens","id":"SSA-457936","url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","published":"2026-10-13T00:00:00+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP V3.1.7"}},{"source":"redhat","id":"RHSA-2026:67278","url":"https://access.redhat.com/errata/RHSA-2026:67278","published":"2026-09-15T10:17:04+00:00","severity":"medium","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: perl:5.32 security update"}},{"source":"redhat","id":"RHSA-2026:67162","url":"https://access.redhat.com/errata/RHSA-2026:67162","published":"2026-09-15T10:16:57+00:00","severity":"medium","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: perl security update"}},{"source":"redhat","id":"RHSA-2026:67156","url":"https://access.redhat.com/errata/RHSA-2026:67156","published":"2026-09-15T10:16:55+00:00","severity":"medium","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: perl security update"}},{"source":"suse","id":"SUSE-SU-2026:23075-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-202623075-1/","published":"2026-07-31T10:03:47+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for perl"}},{"source":"suse","id":"SUSE-SU-2026:23008-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-202623008-1/","published":"2026-07-28T06:54:58+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for perl"}},{"source":"suse","id":"SUSE-SU-2026:22847-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-202622847-1/","published":"2026-07-22T08:50:06+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for perl"}}]}