cve.bz

CVE-2026-19487

5.3 mediumEPSS 0.6%

Medium (5.3). EPSS 0.6% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS
0.6% (unchanged from 0.6% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 42nd percentile. Scored 2026-11-30. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2026-08-13. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-670 Always-Incorrect Control Flow Implementation
Published
Modified
Assigned by
CPANSec (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-19487 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-19487?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-19487?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-19487 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12perl5.36.0-7+deb12u4DEBIAN-CVE-2026-19487 DLA-4821-1
Debian13perl5.40.1-6+deb13u1DEBIAN-CVE-2026-19487
Debian14perl5.42.2-3DEBIAN-CVE-2026-19487
Ubuntu22.04:LTSperl5.34.0-3ubuntu1.9UBUNTU-CVE-2026-19487 USN-8736-1
Ubuntu24.04:LTSperl5.38.2-3.2ubuntu0.6UBUNTU-CVE-2026-19487 USN-8736-2
Ubuntu26.04:LTSperl5.40.1-7ubuntu0.2UBUNTU-CVE-2026-19487 USN-8736-1
UbuntuPro:14.04:LTSperl5.18.2-2ubuntu1.7+esm9UBUNTU-CVE-2026-19487 USN-8736-1
UbuntuPro:16.04:LTSperl5.22.1-9ubuntu0.9+esm4UBUNTU-CVE-2026-19487 USN-8736-1
UbuntuPro:18.04:LTSperl5.26.1-6ubuntu0.7+esm4UBUNTU-CVE-2026-19487 USN-8736-1
UbuntuPro:20.04:LTSperl5.30.0-9ubuntu0.5+esm4UBUNTU-CVE-2026-19487 USN-8736-1
Azure Linux3perl5.38.2-516AZL-95756
Alpaquita23, 25perlno fix listedBELL-CVE-2026-19487
Alpaquitastreamperl5.42.0_rc3-r0BELL-CVE-2026-19487
BellSoft Hardened Containers23, 25perlno fix listedBELL-CVE-2026-19487
BellSoft Hardened Containersstreamperl5.42.0_rc3-r0BELL-CVE-2026-19487

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat is aware of a flaw in Perl's regular expression engine where a stale failure flag in the Aho-Corasick prescan can cause the engine to terminate early, potentially missing valid matches or matching on the wrong alternation branch. Applications using Perl regular expressions for access control or filtering decisions may produce incorrect results. Red Hat products are affected and updates will be provided when available.

Red Hat's mitigation

There is no mitigation available. Applications relying on Perl regular expressions for security-critical decisions (access control, input filtering) should implement defense-in-depth measures and monitor for updates.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10perlFix deferred
Red Hat Enterprise Linux 6perlFix deferred
Red Hat Enterprise Linux 7perlFix deferred
Red Hat Enterprise Linux 8perlFix deferred
Red Hat Enterprise Linux 8perl:5.32/perlFix deferred
Red Hat Enterprise Linux 9perlFix deferred
Red Hat Hardened ImagesperlFix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9Fix deferred
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Fix deferred
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-9Fix deferred
Red Hat OpenShift Container Platform 5openshift/ose-rhel-coreos-9Fix deferred
Red Hat OpenShift Dev Spacesdevspaces/code-rhel9Fix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-19487.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-26-295-11Siemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP2026-10-13Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= V3.1.7, SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= V3.1.7, SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= V3.1.7 and 2 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

References

Check your stackJSON