CVE Explorer
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.
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 att
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"collectionURL":"https://cpan.org/modules","defaultStatus":"unaffected","packageName":"perl","product":"perl","programFiles":["regcomp_study.c"],"programRoutines":[{"name":"Perl_study_chunk"}],"repo":"https://github.com/Perl/perl5","vendor":"SHAY","versions":[{"lessThanOrEqual":"5.43.10","status":"affected","version":"0","versionType":"custom"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:16f0728fb40d53d788a0e684ffc1cdc11c873f2c2a10cc4dcef2908589019097 · sha256:22185ea4de4fa0c8… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":7.3,"baseSeverity":"HIGH","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:16f0728fb40d53d788a0e684ffc1cdc11c873f2c2a10cc4dcef2908589019097 · sha256:22185ea4de4fa0c8… · /containers/adp/1/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-680","description":"CWE-680 Integer Overflow to Buffer Overflow","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:16f0728fb40d53d788a0e684ffc1cdc11c873f2c2a10cc4dcef2908589019097 · sha256:22185ea4de4fa0c8… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"url":"http://www.openwall.com/lists/oss-security/2026/05/26/1"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:16f0728fb40d53d788a0e684ffc1cdc11c873f2c2a10cc4dcef2908589019097 · sha256:22185ea4de4fa0c8… · /containers/adp/0/references/0
{"tags":["patch"],"url":"https://github.com/Perl/perl5/commit/5e7f119eb2bb1181be908701f22bf7068e722f1c.patch"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:16f0728fb40d53d788a0e684ffc1cdc11c873f2c2a10cc4dcef2908589019097 · sha256:22185ea4de4fa0c8… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.