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.57% 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
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-83754Heap-based buffer overflow in OpenSSH for Windows allows an …7.5
- CVE-2026-83755Use of uninitialized resource in Windows Win32K allows an au…5.5
- CVE-2026-83756Use after free in Windows Win32 Kernel Subsystem allows an a…7.8
- CVE-2026-83757Heap-based buffer overflow in Windows Win32K allows an autho…7.8
- CVE-2026-83758Heap-based buffer overflow in Windows Error Reporting allows…7.8
- CVE-2026-83759Improper control of generation of code ('code injection') in…8.8
- CVE-2026-83760Out-of-bounds read in Microsoft Bluetooth Driver allows an a…5.5
- CVE-2026-83761Use after free in Windows Win32 Kernel Subsystem allows an a…7.8
- CVE-2026-83762Use after free in Windows Win32K allows an authorized attack…7.8
- CVE-2026-83763Access of resource using incompatible type ('type confusion'…7.8
- CVE-2026-83764Incorrect authorization in Windows Clipboard User Service al…5.5
- CVE-2026-83765Out-of-bounds read in Windows DWM Core Library allows an aut…5.5
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
