CVE-2026-19487: 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

Published Aug 13, 2026
·
Updated

Last updated 16 September 2026

Other sources

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 Sfindbyclass

— Microsoft

Affected Software

3 affected componentsFixes available
Perl Perl>=5.9.4<5.41.9
Microsoft azl3 perl 5.38.2-514<5.38.2-516
5.38.2-516
debian/perl<=5.36.0-7+deb12u3, <=5.36.0-7+deb12u2, <=5.40.1-6+deb13u1
5.42.3-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 5.38.2-516
  2. Upgrade

    Upgrade debian/perl to a version that resolves this vulnerability.

    Fixed in 5.42.3-1
  3. Upgrade

    Upgrade Perl to a version that resolves this vulnerability.

    Fixed in 5.42.0
  4. Compensating control

    If you cannot upgrade immediately, apply the upstream patch for CVE-2026-19487 to prevent incorrect Aho-Corasick prescan behavior in S_find_byclass (Perl 5.9.4 to before 5.41.9).

Event History

Aug 13, 2026
CVE Published
via MITRE·03:51 PM
Data Sourced
via MITRE·03:51 PM
RemedyDescriptionWeakness
Data Sourced
via NVD·04:17 PM
DescriptionSeverityWeakness
Aug 23, 2026
Data Sourced
via Microsoft·10:03 PM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·10:03 PM
DescriptionSeverity
Updated
via Microsoft·10:03 PM
Affected Software
Sep 8, 2026
Data Sourced
via Launchpad·05:32 PM
Description
Sep 16, 2026
Data Sourced
via Debian·06:32 PM
DescriptionAffected Software
Sep 17, 2026
Data Sourced
via Ubuntu·06:32 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-19487?

The severity of CVE-2026-19487 is rated as 37.

2

How do I fix CVE-2026-19487?

To fix CVE-2026-19487, update your Perl version to 5.41.9 or later.

3

What versions of Perl are affected by CVE-2026-19487?

CVE-2026-19487 affects Perl versions from 5.9.4 up to, but not including, 5.41.9.

4

What type of vulnerability is CVE-2026-19487?

CVE-2026-19487 is a software vulnerability related to incorrect regular expression match results in specific versions of Perl.

5

When was CVE-2026-19487 published?

CVE-2026-19487 was published on August 13, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203