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

CVE-2026-115906

zip: AES Entry HMAC Authentication Bypass on Premature EOF

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

Faible 36/100

Résumé

zip is a zip library for Rust that supports reading and writing simple ZIP files. From 0.6.0 until 9.0.0, the AES entry reader in src/aes.rs verifies its HMAC only when the attacker-controlled data counter reaches zero. If the underlying bounded reader reaches the real end of the archive while data_remaining is still positive, or if an encrypted entry has no payload, the reader can return a clean end of stream without reading and comparing the authentication tag. Applications using by_index_decrypt, by_name_decrypt, by_path_decrypt, or password-enabled by_index_with_options can therefore accept modified plaintext without an authentication error. This issue is fixed in version 9.0.0.

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

Produits et versions affectés

zip-rs (1 ligne(s))
zip-rs
ProduitVersionsCorrigé dansSource
zip2 Versions non précisées — CNA (éditeur ou attributeur)
crates.io (2 ligne(s))
crates.io
ProduitVersionsCorrigé dansSource
zip de 0.6.0 (inclus) à 9.0.0 (exclu) 9.0.0 GitHub Advisory
zip de 0.6.0 (inclus) à 9.0.0 (exclu) 9.0.0 OSV

Correctif

Mise à jour — crates.io/zip 9.0.0source officielle

Source : GitHub Advisory

Mise à jour — crates.io/zip 9.0.0source officielle

Source : OSV

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Exploit signalé par les sources

Ces liens sont étiquetés « exploit » par le NVD ou par CVE.org. Nous ne les avons pas vérifiés ni copiés ; ouvrez-les avec prudence.

Chronologie

  1. — Publication de la CVE (cve)

Avis CERT-FR

Références

Provenance des données

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

Comment sont obtenues et calculées ces données