CVE-2026-8376
Last modified
CVE-2026-8376 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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.. EPSS estimates a 0.44% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Perl | Perl | <= 5.43.10 |
References
- https://www.openwall.com/lists/oss-security/2026/05/26/1Mailing List, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2026-8376?
How severe is CVE-2026-8376?
How do I fix CVE-2026-8376?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-8368LWP::UserAgent versions before 6.83 for Perl leak Authorizat…6.5
- CVE-2026-8369Improper Input Validation in the NAT64 translator in The Ope…6
- CVE-2026-8370Execution with unnecessary privileges vulnerability in Broad…8.5
- CVE-2026-83711Authorization bypass through user-controlled key in Microsof…10
- CVE-2026-83743A weakness has been identified in invoiceninja Invoice Ninja…6.3
- CVE-2026-83744A security vulnerability has been detected in invoiceninja I…4.3
- CVE-2026-8377Missing Authorization vulnerability in Armiya Information Te…8.2
- CVE-2026-83772A vulnerability was detected in Cobham SATCOM VSAT7090 Marit…9.9
- CVE-2026-8378The Frontend File Manager Plugin WordPress plugin through 23…5.4
- CVE-2026-8379The Frontend File Manager Plugin WordPress plugin through 23…7.5
- CVE-2026-8380The Frontend File Manager Plugin WordPress plugin through 23…6.5
- CVE-2026-83801Nautobot is a Network Source of Truth and Network Automation…5.4
Are you affected by CVE-2026-8376?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
