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. The 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. Example: "ABCDE" =~ m/ABCF|BCDE|C/; # matches C at offset 2, not BCDE "ABCDE" =~ m/ABCF|BCDE|C(G)/; # no match, BCDE missed An 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.
We have discovered 24,772 live websites that are affected by CVE-2026-19487.
| Product | |
| Category | Programming Languages |
| Vulnerable Domains | 24,772 live websites (92% of Perl install base) |
| Vulnerable Versions |
|
| Vulnerable Versions Count | 57 versions ( 83% of all versions) |
| 7,174 websites | |
| 3,736 websites | |
| 1,902 websites | |
| 1,835 websites | |
| 1,641 websites | |
| 883 websites | |
| 699 websites | |
| 646 websites | |
| 559 websites | |
| 529 websites |
| .com | 9,139 websites |
| .ru | 3,123 websites |
| .org | 1,606 websites |
| .net | 1,171 websites |
| .de | 1,102 websites |
| .co.uk | 685 websites |
| .edu | 606 websites |
| .cz | 459 websites |
| .fr | 439 websites |
| .at | 384 websites |
| Domain | Country | Rank | Contacts |
|---|---|---|---|
| ******.********.***.uk | *,*** | ||
| *****.com | *,*** | ||
| *****.********.edu | *,*** | ||
| *********.edu | **,*** | ||
| ********************.org | **,*** | ||
| *********.com | **,*** | ||
| *********.com | **,*** | ||
| **********.com | **,*** | ||
| *******.*****.com | **,*** | ||
| *******.****************.com | **,*** |
FAQ