PT-2026-149203

Published

2026-10-22

·

Updated

2026-10-22

Description by

CVSS 3.1
7.5
High
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
With the legacy-zip feature, the decoders for the Shrink, Reduce and Implode compression methods reserved output capacity for the entry's declared uncompressed size before decoding anything. That size comes from the archive, and a ZIP64 entry can declare any 64-bit value, so reading or extracting a crafted entry of a few bytes panics with "capacity overflow" or fails a huge allocation.
An attacker who can supply an archive can stop a process that reads it, for example through ZipArchive::extract.
Only builds with the legacy-zip feature are affected; it is not enabled by default.
The fix caps the preallocation at 1 MiB, and such an entry now returns an error.
Exploitability
Fix
Vendors
Affected products
Related identifiers
RUSTSEC-2026-0547
Found an issue in the description? Have something to add? Feel free to write us 👾