Stream: git-wasmtime

Topic: wasmtime / issue #15339 RUSTSEC-2026-0545: AES entries re...


view this post on Zulip Wasmtime GitHub notifications bot (Nov 18 2026 at 00:09):

github-actions[bot] opened issue #15339:

AES entries returned without checking their authentication code when the data ends early or is empty

Details
Package zip
Version 0.6.6
URL https://github.com/zip-rs/zip2/commit/ec265db0b0602f8ffb9479327397bddefb7e2216
Date 2026-10-22
Patched versions >=9.0.0
Unaffected versions <0.6.0

For WinZip AES (AE-1 and AE-2) entries, the 10-byte HMAC authentication code was read and checked only after the reader had consumed exactly the entry's declared compressed size. If the archive ended before that size was reached, the read returned end-of-stream and the truncated plaintext was accepted without the check. The authentication code of an entry with no encrypted data was never checked.

AES-CTR ciphertext can be changed bit by bit without the password, and AE-2 entries carry no CRC-32, so an attacker who can modify an archive can alter the decrypted contents of such an entry without any error being reported.

This affects reading AES-encrypted entries with a password (for example ZipArchive::by_name_decrypt) with the aes-crypto feature.

The fix returns an error when the data ends before the declared size, and checks the authentication code of empty entries.

See advisory page for additional details.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 18 2026 at 00:58):

pchickey commented on issue #15339:

Needs https://github.com/bytecodealliance/wasmtime/issues/14937 resolved in order to close


Last updated: Nov 19 2026 at 20:05 UTC