Home / Perl / Perl / CVE-2026-8376
CVE-2026-8376: is it exploited, and which versions of Perl are affected and fixed?
CVE-2026-8376 is an integer overflow to buffer overflow vulnerability in Perl. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:08 UTC). Affected: perl before 5.40.5-RC1, perl from 5.41.0 before 5.42.3-RC1 and perl from 5.43.0 before 5.43.11 (CVE record by CPANSec). Fixed in 5.40.5-RC1, 5.42.3-RC1 and 5.43.11 (CVE record by CPANSec). Severity: High (7.3, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:08 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:11 UTC.
What is CVE-2026-8376?
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.
From the CVE record by CPANSec, last updated November 10, 2026, 12:40 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| perl | before 5.40.5-RC1 from 5.41.0 before 5.42.3-RC1 from 5.43.0 before 5.43.11 | 5.40.5-RC1, 5.42.3-RC1, 5.43.11 |
As the CVE record by CPANSec states it, last updated November 10, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| perl | perl | through 5.43.10 | application |
NVD analysis (status Modified), last modified November 10, 2026, 13:19 UTC.
How severe is CVE-2026-8376?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L | CISA-ADP |
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-8376 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, May 27, 2026)
- EPSS
- 0.64% probability of exploitation activity in the next 30 days, percentile 52.2 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-680 Integer Overflow to Buffer Overflow
How do I fix it? (from the CVE record)
Upgrade to Perl 5.40.5, 5.42.3 or 5.44.0 or later, or apply the upstream patch.
Is there a workaround? (from the CVE record)
On 32-bit perl builds, avoid compiling regular expressions from untrusted input until a fixed release is installed.
Where are the vendor advisories and references?
- https://github.com/Perl/perl5/commit/5e7f119eb2bb1181be908701f22bf7068e722f1c.patch patch
- http://www.openwall.com/lists/oss-security/2026/05/26/1
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html
When was it published, and where is the official record?
- Reserved
- May 12, 2026
- Published
- May 25, 2026, 23:53 UTC
- CVE record updated
- November 10, 2026, 12:40 UTC by CPANSec
- NVD
- Modified, last modified November 10, 2026, 13:19 UTC
- Last checked
- CVE list November 19, 2026, 07:08 UTC; NVD November 19, 2026, 07:11 UTC; KEV December 3, 2026, 12:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Perl?
- Jul 13, 2026CVE-2026-13221 Perl: integer overflow
- Jul 13, 2026CVE-2026-57432 Perl: integer overflow
- May 30, 2025CVE-2025-40909 perl: permission Race Condition During Resource Copy
- Apr 13, 2025CVE-2024-56406 perl: heap buffer overflow
- Aug 22, 2023CVE-2022-48522 Perl: out-of-bounds write (memory corruption)
- Apr 28, 2023CVE-2023-31486 Perl: improper certificate validation
- Apr 28, 2023CVE-2023-31484 Cpanpm Project Cpanpm: improper certificate validation
- Jun 5, 2020CVE-2020-12723 Perl: buffer overflow
Questions about CVE-2026-8376
Is CVE-2026-8376 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:08 UTC. FIRST's EPSS gives it a 0.64% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Perl are affected by CVE-2026-8376?
perl before 5.40.5-RC1, perl from 5.41.0 before 5.42.3-RC1 and perl from 5.43.0 before 5.43.11, per the CVE record by CPANSec. The tables above give every range the sources list.
Which version fixes CVE-2026-8376?
5.40.5-RC1, 5.42.3-RC1 and 5.43.11, per the CVE record by CPANSec. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-8376?
High (7.3, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2026-8376?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.