# CVE-2026-115906: zip: AES Entry HMAC Authentication Bypass on Premature EOF

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 9% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-22T12:00:00.000Z
- Modified: 2026-11-17T10:26:09.858Z
- Also known as: GHSA-8hxf-qr8p-62x4, RUSTSEC-2026-0545
- Weaknesses: CWE-354, CWE-1284
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- zip-rs zip2: >= 0.6.0, < 9.0.0
- zip (crates.io): from 0.6.0 before 9.0.0

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- RustSec Advisory Database: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`

## References

- <https://github.com/zip-rs/zip2/security/advisories/GHSA-8hxf-qr8p-62x4> (exploit, web)
- <https://github.com/zip-rs/zip2/commit/ec265db0b0602f8ffb9479327397bddefb7e2216> (web)
- <https://github.com/zip-rs/zip2/releases/tag/v9.0.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-115906> (advisory)
- <https://github.com/zip-rs/zip2> (package)
- <https://crates.io/crates/zip> (package)
- <https://rustsec.org/advisories/RUSTSEC-2026-0545.html> (advisory)

## Sources

- CVE List: [CVE-2026-115906](https://www.cve.org/CVERecord?id=CVE-2026-115906), CVE Terms of Use, modified 2026-10-31
- GitHub Advisory Database: [GHSA-8hxf-qr8p-62x4](https://github.com/advisories/GHSA-8hxf-qr8p-62x4), CC-BY-4.0, modified 2026-11-17
- RustSec Advisory Database: [RUSTSEC-2026-0545](https://rustsec.org/advisories/RUSTSEC-2026-0545.html), CC0-1.0, modified 2026-11-17
- NVD: [CVE-2026-115906](https://nvd.nist.gov/vuln/detail/CVE-2026-115906), Public domain, modified 2026-10-31

---

Page: https://cve.day/CVE-2026-115906 · Whole record: https://cve.day/CVE-2026-115906.json · Rebuilt by cve.day 2026-11-25T22:59:47.157Z
