CVE-2026-8376

CriticalCVSS 9.8/10Last modified Sep 8, 2026

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

CVSS 3.1 9.8/10CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weakness enumeration

Affected software

No affected versions have been published.

Timeline

Published
May 26, 2026
Last modified
Sep 8, 2026
NVD status
Modified

Related CVEs from 2026

CVE-2026-837605.5Out-of-bounds read in Microsoft Bluetooth Driver allows an authorized attacker to disclose information locally.CVE-2026-837617.8Use after free in Windows Win32 Kernel Subsystem allows an authorized attacker to elevate privileges locally.CVE-2026-837627.8Use after free in Windows Win32K allows an authorized attacker to elevate privileges locally.CVE-2026-837637.8Access of resource using incompatible type ('type confusion') in Windows Input System allows an authorized attacker to elevate privileges loCVE-2026-837645.5Incorrect authorization in Windows Clipboard User Service allows an authorized attacker to disclose information locally.CVE-2026-837655.5Out-of-bounds read in Windows DWM Core Library allows an authorized attacker to disclose information locally.CVE-2026-837664.2Incorrect authorization in Windows Hyper-V allows an authorized attacker to bypass a security feature over an adjacent network.CVE-2026-837677.8Stack-based buffer overflow in Windows Installer allows an authorized attacker to elevate privileges locally.CVE-2026-837687.8Heap-based buffer overflow in Windows Kernel allows an authorized attacker to elevate privileges locally.CVE-2026-837697.8Use after free in OpenSSH for Windows allows an authorized attacker to elevate privileges locally.CVE-2026-83778.2Missing Authorization vulnerability in Armiya Information Technologies Ltd. Co. Access Control System (GKS) allows Collect Data from Common CVE-2026-837709.8Heap-based buffer overflow in Windows Text Shaping allows an unauthorized attacker to execute code over a network.
CVE-2026-8376: Critical severity, CVSS 9.8 | Vulnix