9.8

CVE-2026-8376: perl Integer Overflow to Buffer Overflow

CVSS: 9.8v3.1CriticalModified
AliasesMGASA-2026-0220UBUNTU-CVE-2026-8376DEBIAN-CVE-2026-8376
Published 25-05-2026Last modified 08-09-2026

Vulnerability summary

CVE-2026-8376 is a critical (CVSS 9.8) Integer Overflow to Buffer Overflow vulnerability in perl. EPSS estimates a 0.48% chance of exploitation in the next 30 days, higher than 40.4% of scored vulnerabilities.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.8/10
010
Critical · v3.1 (NVD)
EPSS score
0.48%
0%100%
Low · +0.04 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 9 · Related 9

Timeline

  1. 25-05-2026
    PublishedVulnerability first disclosed.
  2. 08-09-2026
    Last modifiedVulnerability information updated.

Description

Perl versions before 5.40.5-RC1, from 5.41.0 before 5.42.3-RC1, from 5.43.0 before 5.43.11 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.

CVSS metrics

6 scores · 6 sources · 1 version

EPSS trend

Probability

0.48%

Chance of exploitation in the next 30 days

Percentile

40%

Versus all other CVEs

30-day change

+0.04 pp

From 0.44% on 21-09-2026

21-09-202621-10-2026
EPSS score
0.48%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Chainguard5 products
  • miniperl< 5.42.2-r3
  • perl< 5.42.2-r3
  • perl-dev< 5.42.2-r3
  • perl-doc< 5.42.2-r3
  • perl-utils< 5.42.2-r3
Wolfi5 products
  • miniperl< 5.42.2-r3
  • perl< 5.42.2-r3
  • perl-dev< 5.42.2-r3
  • perl-doc< 5.42.2-r3
  • perl-utils< 5.42.2-r3
Debian1 product
  • perl< 5.36.0-7+deb12u4 | < 5.40.1-6+deb13u1 | < 5.40.1-8
Mageia1 product
  • perl< 5.36.0-1.3.mga9
Perl1 product
Ubuntu1 product
  • perl< 5.18.2-2ubuntu1.7+esm7 | < 5.26.1-6ubuntu0.7+esm2 | < 5.30.0-9ubuntu0.5+esm2 | < 5.34.0-3ubuntu1.7 | < 5.38.2-3.2ubuntu0.3 | < 5.40.1-6ubuntu0.1 | < 5.40.1-7ubuntu0.1

6 vendors · 14 products

References

15 links
Show all 15 references