Security Advisories (1)
CVE-2026-8376 (2026-05-25)

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.

NAME

make_patchnum.pl - make patchnum

SYNOPSIS

miniperl make_patchnum.pl

perl make_patchnum.pl

DESCRIPTION

This program creates the files holding the information about locally applied patches to the source code. The created files are git_version.h and lib/Config_git.pl.

lib/Config_git.pl

Contains status information from git in a form meant to be processed by the tied hash logic of Config.pm. It is actually optional, although -V:git.\* will be uninformative without it.

git_version.h contains similar information in a C header file format, designed to be used by patchlevel.h. This file is obtained from stock_git_version.h if miniperl is not available, and then later on replaced by the version created by this script.

AUTHOR

Yves Orton, Kenichi Ishigaki, Max Maischein

COPYRIGHT

Same terms as Perl itself.