1. Accueil
  2. Vulnérabilités
  3. CVE-2026-8376

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

Publiée le 26 mai 2026 · modifiée le 10 nov. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Moyen 55/100

Résumé

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.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Perl (1 ligne(s))
Perl
ProduitVersionsCorrigé dansSource
Perl jusqu’à 5.43.10 (inclus) — NVD

Correctif

Correctifsource officielle

Upgrade to Perl 5.40.5, 5.42.3 or 5.44.0 or later, or apply the upstream patch.

Source : CNA (éditeur ou attributeur)

Contournement

Contournementsource officielle

On 32-bit perl builds, avoid compiling regular expressions from untrusted input until a fixed release is installed.

Source : CNA (éditeur ou attributeur)

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)
  2. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1385)
  3. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1486)

Avis CERT-FR

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
NVD
Faiblesse (CWE)
CNA (éditeur ou attributeur)
Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1, NVD)
Faiblesse
CWE-680 · Autre (CWE-680)

Comment sont obtenues et calculées ces données