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
Fixed in:5.40.1-6ubuntu0.1USN-8467-2
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
libperl5.40Ubuntu
Fixed in:5.40.1-6ubuntu0.1USN-8467-2
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
Fixed in:5.40.1-6ubuntu0.1USN-8467-2
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
Fixed in:5.40.1-6ubuntu0.1USN-8467-2
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
Fixed in:5.40.1-6ubuntu0.1USN-8467-2
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
perl-modules-5.40Ubuntu
Fixed in:5.40.1-6ubuntu0.1USN-8467-2

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

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.44%probability of exploitation in 30 days
36thpercentile

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

References

Third-Party Advisory1

Related Vulnerabilities

Other CWE-680 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2022-24834High7.041%-Fix
CVE-2021-32761High7.531%-Fix
CVE-2020-6116High7.828%--
CVE-2021-40417Critical9.816%--
CVE-2021-32628High7.514%-Fix
CVE-2021-30354High8.68.4%--

Common questions

How do I fix CVE-2026-8376?

Published advisories record a fix for 14 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2026-8376 being actively exploited?

Not that we know of. CVE-2026-8376 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.44% is the estimated probability that it will be exploited in the next 30 days. That is higher than 36% of all scored CVEs.

How severe is CVE-2026-8376?

CVE-2026-8376 has a CVSS v3 base score of 5.7, rated moderate. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2026-8376 affect?

Published advisories record a fix for perl (Debian), libperl-dev (Ubuntu), libperl5.22 (Ubuntu), libperl5.26 (Ubuntu), and 10 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

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.

See how it worksStart freeThis CVE lookup is free and always will be.

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-07-23.