- Accueil
- Vulnérabilités
- CVE-2026-115906
CVE-2026-115906
zip: AES Entry HMAC Authentication Bypass on Premature EOF
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))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| zip2 | Versions non précisées | — | CNA (éditeur ou attributeur) |
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
- — Publication de la CVE (cve)
Avis CERT-FR
- GHSA-8hxf-qr8p-62x4 — zip: AES Entry HMAC Authentication Bypass on Premature EOF 29 oct. 2026
- RUSTSEC-2026-0545 — AES entries returned without checking their authentication code when the data ends early or is empty 22 oct. 2026
Références
- https://github.com/zip-rs/zip2/security/advisories/GHSA-8hxf-qr8p-62x4exploit
- https://github.com/zip-rs/zip2/commit/ec265db0b0602f8ffb9479327397bddefb7e2216x_refsource_MISC
- https://github.com/zip-rs/zip2/releases/tag/v9.0.0x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-115906ADVISORY
- https://github.com/zip-rs/zip2PACKAGE
- https://crates.io/crates/zipPACKAGE
- https://rustsec.org/advisories/RUSTSEC-2026-0545.htmlADVISORY
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)