CVE-2026-8376: Perl versions through 5.43.10 have a heap buffer overflow when compiling regular expressions with a repeated fixed string on 32-bit builds

Published May 25, 2026
·
Updated

Perl versions through 5.43.10 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.

Affected Software

1 affected component
Perl Perl<=5.43.10

Remediation

Information

Upgrade to a future perl release, or apply the upstream patch.

Event History

May 25, 2026
CVE Published
via MITRE·11:53 PM
Data Sourced
via MITRE·11:53 PM
RemedyDescriptionWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-8376?

The severity of CVE-2026-8376 is rated as risk level 28.

2

How do I fix CVE-2026-8376?

To fix CVE-2026-8376, upgrade to a future release of Perl or apply the upstream patch.

3

What versions of Perl are affected by CVE-2026-8376?

Perl versions through 5.43.10 are affected by CVE-2026-8376.

4

What type of vulnerability is CVE-2026-8376?

CVE-2026-8376 is classified as a buffer overflow vulnerability.

5

On which builds is CVE-2026-8376 a concern?

CVE-2026-8376 is a concern specifically on 32-bit builds of Perl.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203