## zip: AES Entry HMAC Authentication Bypass on Premature EOF

- 種別: advisory
- 重大度: medium
- 関連技術: rust
- CVE: CVE-2026-115906
- 公開日時: 2026-10-29T16:40:07.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-8hxf-qr8p-62x4)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-8hxf-qr8p-62x4

影響: rust:zip >= 0.6.0, < 9.0.0 → 9.0.0
An AES-encrypted (AE-x) entry's authentication code is verified only when the reader's byte counter lands exactly on zero. If the bounded entry reader reaches the archive's actual EOF before the attacker-controlled, header-declared compressed_size, the counter remains positive, the HMAC is never read or compared, and the truncated, unauthenticated plaintext is returned as a clean end of stream. A zero-payload entry also returns before authentication. An attacker who does not know the password c…