Skip to main content
CVE-2026-15534VulnerabilityPublished Updated

Perl versions through 5.45.1 have out-of-bounds heap reads and writes during regular expression matching via an undersized superlinear cache in S_regmatch

Affects perlSource GCVE Database

0
Compare
Authoritative record:CVE-2026-15534· Medium 5.7

Not known to be exploited · CVSS 5.7 Medium · fixed in 5.18.2-2ubuntu1.7+esm9 : update perl when convenient.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
5.7Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 17% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 5.18.2-2ubuntu1.7+esm9, 5.22.1-9ubuntu0.9+esm4, 5.26.1-6ubuntu0.7+esm4 +4
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 9 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 26.10perlpkg:deb/ubuntu/perl?arch=source&distro=stonkingOther threatsAffected
  • 5.40.1-7build1 – 5.42.3-1ubuntu0.1
5 affected builds
Fixed in–
Ubuntu 26.04 LTSperlpkg:deb/ubuntu/perl?arch=source&distro=resoluteOther threatsAffected
  • <5.40.1-7ubuntu0.2
Fixed in
  • 5.40.1-7ubuntu0.2
Ubuntu 24.04 LTSperlpkg:deb/ubuntu/perl?arch=source&distro=nobleOther threatsAffected
  • <5.38.2-3.2ubuntu0.6
Fixed in
  • 5.38.2-3.2ubuntu0.6
Ubuntu 22.04 LTSperlpkg:deb/ubuntu/perl?arch=source&distro=jammyOther threatsAffected
  • <5.34.0-3ubuntu1.9
Fixed in
  • 5.34.0-3ubuntu1.9
Ubuntu Pro 20.04 LTSperlpkg:deb/ubuntu/perl?arch=source&distro=esm-infra/focalOther threatsAffected
  • <5.30.0-9ubuntu0.5+esm4
Fixed in
  • 5.30.0-9ubuntu0.5+esm4
Ubuntu Pro 18.04 LTSperlpkg:deb/ubuntu/perl?arch=source&distro=esm-infra/bionicOther threatsAffected
  • <5.26.1-6ubuntu0.7+esm4
Fixed in
  • 5.26.1-6ubuntu0.7+esm4

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

Perl versions through 5.45.1 have out-of-bounds heap reads and writes during regular expression matching via an undersized superlinear cache in S_regmatch. The regex engine's superlinear cache holds one bit per subject position for each participating WHILEM node, so the bit count is the subject length plus one times the number of nodes. Nothing checks that product for positive overflow of the signed 32-bit count: a 286331153 byte subject matched against a pattern with 15 participating nodes stores the count as 14, leaving a two byte cache. The cache is then indexed from the real match position and node number, so reads go past the end of the allocation, and on failure CACHEsayNO sets a bit past it. A caller that matches an attacker controlled subject of this size against a pattern of this shape can crash the process or corrupt heap memory.

References

Community reviews

Loading reviews…