Skip to main content
VulnerabilityPublished Updated

CVE-2026-8376: perl (Perl module) · Integer Overflow to Buffer Overflow

Affects perl (Perl module)Source CVE Database V5

0
Compare

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

Data as of 29 Oct 2026, 19:04 UTC

CVSS 3.1 base score
7.3High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 41% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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 29 Oct 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
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.

AI-suggested

If you cannot patch yet, users should exercise caution when processing untrusted regular expressions with repeated fixed strings on 32-bit Perl builds up to version 5.43.10.

Description

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.

References

Community reviews

Loading reviews…