---
title: "CVE-2026-19487"
canonical_url: "https://pkgseek.com/security/CVE-2026-19487"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# 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.  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 force…

CVE-2026-19487 is rated MEDIUM (5.3), with 14 indexed affected package builds across 1 distributions.

- **Severity / Score**: MEDIUM (5.3)
- **Affected builds**: 14
- **Affected distros**: 1
- **Distros with fixed_in**: None recorded in sample

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Ubuntu | jammy | libperl5.34 | 5.34.0-3ubuntu1 | — |
| Ubuntu | jammy | libperl-dev | 5.34.0-3ubuntu1 | — |
| Ubuntu | jammy | perl | 5.34.0-3ubuntu1 | — |
| Ubuntu | jammy | perl-base | 5.34.0-3ubuntu1 | — |
| Ubuntu | jammy | perl-debug | 5.34.0-3ubuntu1 | — |
| Ubuntu | jammy | perl-doc | 5.34.0-3ubuntu1 | — |
| Ubuntu | jammy | perl-modules-5.34 | 5.34.0-3ubuntu1 | — |
| Ubuntu | noble | libperl5.38t64 | 5.38.2-3.2build2 | — |
| Ubuntu | noble | libperl-dev | 5.38.2-3.2build2 | — |
| Ubuntu | noble | perl | 5.38.2-3.2build2 | — |
| Ubuntu | noble | perl-base | 5.38.2-3.2build2 | — |
| Ubuntu | noble | perl-debug | 5.38.2-3.2build2 | — |
| Ubuntu | noble | perl-doc | 5.38.2-3.2build2 | — |
| Ubuntu | noble | perl-modules-5.38 | 5.38.2-3.2build2 | — |
