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

CVE-2026-42497

Archive::Tar versions before 3.08 for Perl extract hardlinks to attacker controlled paths outside the extraction directory

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

Moyen 44/100

Résumé

Archive::Tar versions before 3.08 for Perl extract hardlinks to attacker controlled paths outside the extraction directory. _make_special_file() passes the tar header's linkname to link() without validating it against absolute paths or .. segments, creating a hardlink that shares the victim file's inode. A subsequent write through the extracted name modifies the victim file, and the post-extraction chmod, chown, and utime block in _extract_file() (guarded only against symlinks via -l) applies the tar header's mode, owner, and timestamps to the shared inode during extraction alone.

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

Produits et versions affectés

BINGOS (1 ligne(s))
BINGOS
ProduitVersionsCorrigé dansSource
Archive::Tar avant 3.08 (exclu) — CNA (éditeur ou attributeur)
Archive::tar project (1 ligne(s))
Archive::tar project
ProduitVersionsCorrigé dansSource
Archive::tar avant 3.08 (exclu) — NVD

Correctif

Correctifsource officielle

Upgrade to Archive::Tar 3.08 or later.

Source : CNA (éditeur ou attributeur)

Contournement

Aucun contournement renseigné.

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-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:N/I:H/A:N (CVSS 3.1, NVD)
Faiblesse
CWE-59 · Autre (CWE-59)

Comment sont obtenues et calculées ces données