VDB

CVE-2026-8376

CVE-2026-8376 PUBLISHED CVSS 7.3 HIGH

Reported by cpansec · Published May 25, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
perlWolfi5.42.2-r3
perl-AutoSplitAmazon Linux5.74-477.amzn2023.0.9
perl-openAmazon Linux1.12-477.amzn2023.0.9
perl-diagnosticsAmazon Linux1.37-477.amzn2023.0.9
perl-Term-ReadLineAmazon Linux1.17-477.amzn2023.0.9
perl-Package-ConstantsAmazon Linux1:0.02-299.amzn2.0.4
perl-FindBinAmazon Linux1.51-477.amzn2023.0.9
perl-NetAmazon Linux1.02-477.amzn2023.0.9
perl-DBM_FilterAmazon Linux0.06-477.amzn2023.0.9
perl-varsAmazon Linux1.05-477.amzn2023.0.9
perlChainguard5.42.2-r3
perl-encoding-warningsAmazon Linux0.13-477.amzn2023.0.9

77 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
7.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Affected products

VendorProductVersions
0, 5.41.0, 5.43.0
wolfiperl0
amazon:2023perl-AutoSplit0
amazon:2023perl-open0
amazon:2023perl-diagnostics0
amazon:2023perl-Term-ReadLine0
amazon:2perl-Package-Constants0
amazon:2023perl-FindBin0
amazon:2023perl-Net0
amazon:2023perl-DBM_Filter0
amazon:2023perl-vars0
chainguardperl0
amazon:2023perl-encoding-warnings0
amazon:2023perl-I18N-Collate0
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0)3.1.7
5.41.0, 5.43.0, 0
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0)3.1.7
amazon:2023perl-Hash-Util-FieldHash0
amazon:2023perl-Config-Extensions0
amazon:2023perl-Time0

…and 110 more

Timeline

  • May 22, 2026 CVE Published
  • May 26, 2026 EPSS Score (30 in total, the first dated here)
  • Jun 2, 2026 Security Advisory (3 in total, the first dated here)
  • Aug 11, 2026 Distribution Patch
  • Nov 10, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-8376
vulnetix vdb fixes CVE-2026-8376

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-8376/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›