CVE & CISA-KEV Catalog

CVE-2026-8376

MEDIUM
5.7
CVSS v3
NVD

Description

Perl versions through 5.43.10 have a heap buffer overflow when compiling regular expressions with a repeated fixed string on 32-bit builds. Perl_study_chunk in regcomp_study.c checked the size of the joined substring buffer in characters rather than bytes. For a quantified fixed substring with a large minimum count, the byte length mincount * l could overflow SSize_t, producing an undersized SvGROW allocation; the subsequent copy writes past the end of the buffer. A caller that compiles an attacker-controlled regular expression on a 32-bit perl build triggers a heap buffer overflow at compile time.

How to fix

Remediation Available
perlDebian
Fixed in:5.40.1-8CVE-2026-8376
libperl-devUbuntu
Fixed in:5.18.2-2ubuntu1.7+esm7USN-8467-1
Fixed in:5.22.1-9ubuntu0.9+esm2USN-8467-1
Fixed in:5.26.1-6ubuntu0.7+esm2USN-8467-1
Fixed in:5.30.0-9ubuntu0.5+esm2USN-8467-1
libperl5.22Ubuntu
Fixed in:5.22.1-9ubuntu0.9+esm2USN-8467-1
libperl5.26Ubuntu
Fixed in:5.26.1-6ubuntu0.7+esm2USN-8467-1
libperl5.30Ubuntu
Fixed in:5.30.0-9ubuntu0.5+esm2USN-8467-1
perlUbuntu
Fixed in:5.18.2-2ubuntu1.7+esm7USN-8467-1
Fixed in:5.22.1-9ubuntu0.9+esm2USN-8467-1
Fixed in:5.26.1-6ubuntu0.7+esm2USN-8467-1
Fixed in:5.30.0-9ubuntu0.5+esm2USN-8467-1
perl-baseUbuntu
Fixed in:5.18.2-2ubuntu1.7+esm7USN-8467-1
Fixed in:5.22.1-9ubuntu0.9+esm2USN-8467-1
Fixed in:5.26.1-6ubuntu0.7+esm2USN-8467-1
Fixed in:5.30.0-9ubuntu0.5+esm2USN-8467-1
perl-debugUbuntu
Fixed in:5.18.2-2ubuntu1.7+esm7USN-8467-1
Fixed in:5.22.1-9ubuntu0.9+esm2USN-8467-1
Fixed in:5.26.1-6ubuntu0.7+esm2USN-8467-1
Fixed in:5.30.0-9ubuntu0.5+esm2USN-8467-1
perl-docUbuntu
Fixed in:5.22.1-9ubuntu0.9+esm2USN-8467-1
Fixed in:5.26.1-6ubuntu0.7+esm2USN-8467-1
Fixed in:5.30.0-9ubuntu0.5+esm2USN-8467-1
perl-modules-5.22Ubuntu
Fixed in:5.22.1-9ubuntu0.9+esm2USN-8467-1
perl-modules-5.26Ubuntu
Fixed in:5.26.1-6ubuntu0.7+esm2USN-8467-1
perl-modules-5.30Ubuntu
Fixed in:5.30.0-9ubuntu0.5+esm2USN-8467-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityLow
AvailabilityHigh

CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H

Exploit Intelligence

0.40%probability of exploitation in 30 days
32ndpercentile

Low risk: more likely to be exploited than 32% of all known CVEs.

References

Third-Party Advisory1
Embed a live status badge for CVE-2026-8376
CVE-2026-8376 severity badge

Markdown

[![CVE-2026-8376](https://tridentstack.com/cve/badge/CVE-2026-8376.svg)](https://tridentstack.com/cve/CVE-2026-8376)

HTML

<a href="https://tridentstack.com/cve/CVE-2026-8376"><img src="https://tridentstack.com/cve/badge/CVE-2026-8376.svg" alt="CVE-2026-8376"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-05-27.