Skip to main content
EPSS 0.4%top 63%

CVE-2026-8376: CWE-680 Integer Overflow to Buffer Overflow

0
High
VulnerabilityCVE-2026-8376cvecve-2026-8376cwe-680
Published: 05/25/2026 (05/25/2026, 23:53:27 UTC)
Source: CVE Database V5

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 v3.1

Score 7.3high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Affected software

GitHub Actionsmore threats →cve
perl
pkg:github/perl
Affected versions
>=0 <5.40.5-RC1>=5.41.0 <5.42.3-RC1>=5.43.0 <5.43.11

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/29/2026, 22:48:31 UTC

Technical Analysis

This vulnerability in Perl (CVE-2026-8376) involves an integer overflow during the calculation of buffer size when compiling regular expressions containing repeated fixed strings on 32-bit builds up to version 5.43.10. The integer overflow leads to allocation of an undersized heap buffer, which is then overflowed by out-of-bounds writes, causing memory corruption. The issue is classified under CWE-680 (Integer Overflow to Buffer Overflow). The CVSS 3.1 base score is 7.3, indicating high severity. There is no confirmed patch or official remediation available at this time, and no known exploits have been reported in the wild.

Potential Impact

Successful exploitation can lead to memory corruption on affected 32-bit Perl builds, potentially causing denial of service or other impacts related to corrupted memory. The vulnerability affects confidentiality, integrity, and availability as indicated by the CVSS vector (C:L/I:L/A:L). However, no active exploitation has been observed.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should exercise caution when processing untrusted regular expressions with repeated fixed strings on 32-bit Perl builds up to version 5.43.10.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
CPANSec
Date Reserved
2026-05-12T08:15:41.456Z
State
PUBLISHED

Threat ID: 6a14e85ba5ae1af1aa0191bb

Added to database: 05/26/2026, 00:24:59 UTC

Last enriched: 06/29/2026, 22:48:31 UTC

Last updated: 09/11/2026, 22:23:30 UTC

Views: 138

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses