perl security update
Perl 5 is a highly capable, feature-rich programming language with over 30 years of development. Perl 5 runs on over 100 platforms from portables to mainframes and is suitable for both rapid prototyping and large scale development projects. Security Fix(es): 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.(CVE-2026-19487)
OESA-2026-4013
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:OESA-2026-4013
perl
Source reference: /affected/0/package/name
- Affected versions
- Not stated in this record
- Fixed versions
- 5.38.0-18.oe2403sp4
Source reference:
/affected/0/ranges - Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "5.38.0-18.oe2403sp4"
}
]
}
],
"package": {
"name": "perl",
"purl": "pkg:rpm/openEuler/perl&distro=openEuler-24.03-LTS-SP4",
"ecosystem": "openEuler:24.03-LTS-SP4"
},
"database_specific": {
"source": "https://repo.openeuler.org/security/data/osv/OESA-2026-4013.json"
},
"ecosystem_specific": {
"src": [
"perl-5.38.0-18.oe2403sp4.src.rpm"
],
"noarch": [
"perl-help-5.38.0-18.oe2403sp4.noarch.rpm"
],
"x86_64": [
"perl-5.38.0-18.oe2403sp4.x86_64.rpm",
"perl-debuginfo-5.38.0-18.oe2403sp4.x86_64.rpm",
"perl-debugsource-5.38.0-18.oe2403sp4.x86_64.rpm",
"perl-devel-5.38.0-18.oe2403sp4.x86_64.rpm",
"perl-libs-5.38.0-18.oe2403sp4.x86_64.rpm"
],
"aarch64": [
"perl-5.38.0-18.oe2403sp4.aarch64.rpm",
"perl-debuginfo-5.38.0-18.oe2403sp4.aarch64.rpm",
"perl-debugsource-5.38.0-18.oe2403sp4.aarch64.rpm",
"perl-devel-5.38.0-18.oe2403sp4.aarch64.rpm",
"perl-libs-5.38.0-18.oe2403sp4.aarch64.rpm"
]
}
}
]Publisher severity
medium
Source reference: /database_specific/severity
- Event
- #14693 · Revision 1
- Added to Heist Feed
- Publisher date