VDB

CVE-2026-19487

CVE-2026-19487 PUBLISHED CVSS 5.3 MEDIUM

Reported by cpansec · Published August 13, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
perl-TimeAmazon Linux1.03-477.amzn2023.0.11
perl-File-statAmazon Linux1.09-477.amzn2023.0.11
perl-sortAmazon Linux2.04-477.amzn2023.0.11
perl-Locale-Maketext-SimpleAmazon Linux1:0.21-477.amzn2023.0.11, 1:0.21-299.amzn2.0.6
perl-IPC-Open3Amazon Linux1.21-477.amzn2023.0.11
perl-EnglishAmazon Linux1.11-477.amzn2023.0.11
perl-Math-ComplexAmazon Linux1.59-477.amzn2023.0.11
perl-libAmazon Linux0.65-477.amzn2023.0.11
perl-vmsishAmazon Linux1.04-477.amzn2023.0.11
perl-Package-ConstantsAmazon Linux1:0.02-299.amzn2.0.6
perl-autouseAmazon Linux1.11-477.amzn2023.0.11
perl-ExtUtils-ConstantAmazon Linux0.25-477.amzn2023.0.11

78 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected products

VendorProductVersions
5.9.4
amazon:2023perl-Time0
amazon:2023perl-File-stat0
amazon:2023perl-sort0
amazon:2perl-Locale-Maketext-Simple0
amazon:2023perl-IPC-Open30
amazon:2023perl-English0
amazon:2023perl-Math-Complex0
amazon:2023perl-lib0
amazon:2023perl-vmsish0
amazon:2perl-Package-Constants0
amazon:2023perl-autouse0
amazon:2023perl-ExtUtils-Constant0
amazon:2023perl-NEXT0
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0)3.1.7
amazon:2023perl-base0
amazon:2perl0
amazon:2023perl-Class-Struct0
amazon:2023perl-filetest0
amazon:2023perl-ODBM_File0

…and 106 more

Timeline

  • Aug 13, 2026 CVE Published
  • Aug 15, 2026 Coalition ESS Score
  • Aug 20, 2026 Security Advisory
  • Aug 24, 2026 EPSS Score (30 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-19487
vulnetix vdb fixes CVE-2026-19487

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-19487/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›