UBUNTU-CVE-2026-115906: Medium severity ubuntu/rust-zip vulnerability

Published Oct 26, 2026
·
Updated

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 dataremaining 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 byindexdecrypt, bynamedecrypt, bypathdecrypt, or password-enabled byindexwithoptions can therefore accept modified plaintext without an authentication error. This issue is fixed in version 9.0.0.

Affected Software

5 affected components
ubuntu/rust-zip*
ubuntu/rust-zip*
ubuntu/rust-zip*
ubuntu/rust-zip*
ubuntu/rust-zip*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade zip to a version that resolves this vulnerability.

    Fixed in 9.0.0

Event History

Oct 26, 2026
CVE Published
via OSV·05:17 PM
Data Sourced
via OSV·05:17 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Which applications are exposed to this issue?

Applications using affected versions of the Rust zip library are exposed when they decrypt AES-encrypted ZIP entries through by_index_decrypt, by_name_decrypt, by_path_decrypt, or password-enabled by_index_with_options. The issue affects versions from 0.6.0 up to, but not including, 9.0.0.

2

What must an attacker do to exploit the flaw?

An attacker must provide a crafted AES-encrypted ZIP entry that causes the bounded reader to reach the real archive end while the attacker-controlled remaining-data counter is still positive, or provide an encrypted entry with no payload. This can cause modified plaintext to be accepted without an HMAC authentication error.

3

Is user interaction required?

Yes. The supplied severity vector indicates user interaction is required, meaning a user or application workflow must process an attacker-controlled archive.

4

What is the remediation?

Upgrade the Rust zip library to version 9.0.0 or later, where the issue is fixed.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203