{"id":"CVE-2026-19487","aliases":[],"cve":{"records":[{"id":"CVE-2026-19487","source":"CPANSec","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-08-10T16:35:50.763Z","published":"2026-08-13T15:51:04.090Z","modified":"2026-11-10T12:40:57.549Z"}],"publishers":[{"name":"CPANSec","role":"CNA","organizationId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","modified":"2026-08-13T15:51:04.090Z"},{"name":"CISA-ADP","role":"ADP","organizationId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","modified":"2026-08-13T17:48:30.123Z"},{"name":"CVE","role":"ADP","organizationId":"af854a3a-2127-422b-91ae-364da2661108","modified":"2026-08-13T20:12:11.045Z"},{"name":"siemens-SADP","role":"ADP","organizationId":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e","modified":"2026-11-10T12:40:57.549Z"}],"references":[{"url":"https://github.com/Perl/perl5/commit/1a21abacaf6f684928bae8baaa153733c8c238eb.patch","tags":["patch"],"source":"CPANSec"},{"url":"https://github.com/Perl/perl5/issues/22892","tags":["issue-tracking"],"source":"CPANSec"},{"url":"https://github.com/Perl/perl5/issues/22892","tags":["exploit"],"source":"CISA-ADP"},{"url":"http://www.openwall.com/lists/oss-security/2026/08/13/8","tags":[],"source":"CVE"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":[],"source":"siemens-SADP"}],"weaknesses":[{"id":"CWE-670","description":"CWE-670 Always-Incorrect Control Flow Implementation","source":"CPANSec"}],"applicability":[],"prioritization":[{"source":"CISA-ADP","type":"SSVC","role":"CISA Coordinator","timestamp":"2026-08-13T17:47:48.584748Z","decisions":[{"name":"Exploitation","value":"poc"},{"name":"Automatable","value":"yes"},{"name":"Technical Impact","value":"partial"}]}]},"title":"Perl versions from 5.9.4 before 5.41.9 produce incorrect regular expression match results when a stale failure flag ends the Aho-Corasick prescan early in S_find_byclass","titleSource":"CPANSec","descriptionSource":"CPANSec","description":"Perl versions from 5.9.4 before 5.41.9 produce incorrect regular expression match results when a stale failure flag ends the Aho-Corasick prescan early in S_find_byclass.\n\nThe prescan walks the subject for positions where the full pattern could match, and the engine tries it from the leftmost one recorded. A failing transition sets the failed flag, and a later successful transition does not clear it, so the prescan reads the stale flag as a failure and stops before it can record a candidate that starts earlier. It takes a subject where one candidate is recorded and a later character then forces a fallback through a fail link that succeeds.\n\nExample:\n\n  \"ABCDE\" =~ m/ABCF|BCDE|C/;    # matches C at offset 2, not BCDE\n  \"ABCDE\" =~ m/ABCF|BCDE|C(G)/; # no match, BCDE missed\n\nAn alternation like this can miss input it should match, or match it on the wrong branch, so an access or filtering decision made from the result can be wrong.","score":5.3,"severity":"medium","published":"2026-08-13T15:51:04.090Z","modified":"2026-11-10T12:40:57.549Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"","name":"perl","platforms":[],"versions":[{"version":"5.9.4","status":"affected","lessThan":"5.41.9","versionType":"custom"}],"defaultStatus":"unaffected","packageURL":"pkg:cpan/perl","cpes":[],"source":"CPANSec","url":"https://www.cve.org/CVERecord?id=CVE-2026-19487"},{"vendor":"Siemens","name":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0)","platforms":[],"versions":[{"version":"V3.1.7","status":"affected","lessThan":"*","versionType":"custom"}],"defaultStatus":"unknown","cpes":[],"source":"siemens-SADP","url":"https://www.cve.org/CVERecord?id=CVE-2026-19487"},{"vendor":"Siemens","name":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0)","platforms":[],"versions":[{"version":"V3.1.7","status":"affected","lessThan":"*","versionType":"custom"}],"defaultStatus":"unknown","cpes":[],"source":"siemens-SADP","url":"https://www.cve.org/CVERecord?id=CVE-2026-19487"},{"vendor":"Siemens","name":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0)","platforms":[],"versions":[{"version":"V3.1.7","status":"affected","lessThan":"*","versionType":"custom"}],"defaultStatus":"unknown","cpes":[],"source":"siemens-SADP","url":"https://www.cve.org/CVERecord?id=CVE-2026-19487"},{"vendor":"Siemens","name":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0)","platforms":[],"versions":[{"version":"V3.1.7","status":"affected","lessThan":"*","versionType":"custom"}],"defaultStatus":"unknown","cpes":[],"source":"siemens-SADP","url":"https://www.cve.org/CVERecord?id=CVE-2026-19487"},{"vendor":"Siemens","name":"SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0)","platforms":[],"versions":[{"version":"V3.1.7","status":"affected","lessThan":"*","versionType":"custom"}],"defaultStatus":"unknown","cpes":[],"source":"siemens-SADP","url":"https://www.cve.org/CVERecord?id=CVE-2026-19487"}],"remediation":[{"text":"Upgrade to Perl 5.42.0 or later, or apply the upstream patch.","source":"CPANSec","url":"https://www.cve.org/CVERecord?id=CVE-2026-19487"}],"references":["https://github.com/Perl/perl5/commit/1a21abacaf6f684928bae8baaa153733c8c238eb.patch","https://github.com/Perl/perl5/issues/22892","http://www.openwall.com/lists/oss-security/2026/08/13/8","https://cert-portal.siemens.com/productcert/html/ssa-457936.html"],"sources":[{"name":"CVE","id":"CVE-2026-19487","modified":"2026-11-10T12:40:57.549Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-19487"}],"assessments":[{"source":"CISA-ADP","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3}],"sourceAffected":[],"observedAt":"2026-11-10T12:47:51.791Z","kev":{"status":"not-listed","checkedAt":"2026-11-29T22:05:31.096Z"},"coverage":[{"source":"NVD","status":"refresh-failed","attemptedAt":"2026-11-15T07:00:55.520Z"},{"source":"GHSA","status":"available","checkedAt":"2026-11-15T06:40:32.277Z","attemptedAt":"2026-11-15T06:40:32.277Z"},{"source":"EUVD","status":"available","checkedAt":"2026-11-15T06:40:33.935Z","attemptedAt":"2026-11-15T06:40:33.935Z"},{"source":"EPSS","status":"available","checkedAt":"2026-11-15T06:40:30.625Z","attemptedAt":"2026-11-15T06:40:30.625Z"}],"evidence":[{"source":"FIRST EPSS","id":"CVE-2026-19487","url":"https://www.first.org/epss/","probability":0.00587,"percentile":0.4862,"date":"2026-11-14","checkedAt":"2026-11-15T06:40:30.625Z"},{"source":"GitHub Advisory Database","id":"GHSA-cg68-cm33-8vqv","url":"https://github.com/advisories/GHSA-cg68-cm33-8vqv","modified":"2026-11-10T15:33:58Z","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","checkedAt":"2026-11-15T06:40:32.277Z"},{"source":"ENISA EUVD","id":"EUVD-2026-58110","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-58110","modified":"Nov 10, 2026, 12:40:57 PM","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","checkedAt":"2026-11-15T06:40:33.935Z"}],"aiSummary":{"text":"Perl versions from 5.9.4 before 5.41.9 may produce incorrect regular expression match results due to a stale failure flag. This can lead to incorrect access or filtering decisions. The issue occurs when a subject has multiple candidate matches and a later character forces a fallback through a fail link that succeeds.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-11-10T15:16:11.633Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2026-19487"}]}}