Skip to main content
VulnerabilityPublished Updated

CVE-2026-8376: Perl versions through 5.43.10 have a heap buffer overflow when compiling regular expressions with a

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-8376· High 7.3

Not known to be exploited · CVSS 7.3 High · fixed in 5.43.11 : patch perl (Perl module) soon.

Data as of 10 Nov 2026, 16:36 UTC

CVSS 3.1 base score
7.3High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CISA-ADPCVSS 3.17.3
Patch
Available – fixed in 5.43.11, 5.42.3-RC1, 5.40.5-RC1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 25 May 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 10 Nov 2026.

What to do

Upgrade perl (Perl module) to 5.43.11, 5.42.3-RC1 or 5.40.5-RC1.

Affected software

ProductAffectedFixed in
perlAffected
  • >=5.43.0 <5.43.11
Fixed in
  • 5.43.11
perlAffected
  • >=5.41.0 <5.42.3-RC1
Fixed in
  • 5.42.3-RC1
perlAffected
  • <5.40.5-RC1
Fixed in
  • 5.40.5-RC1
CPANperlpkg:cpan/perlOther threatsAffected
  • <5.40.5-RC1
  • >=5.41.0 <5.42.3-RC1
  • >=5.43.0 <5.43.11
Fixed in
  • 5.40.5-RC1
  • 5.42.3-RC1
  • 5.43.11

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

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.

References

Community reviews

Loading reviews…