RustSeverity: MediumStatus: Published

Superlinear CPU in ZipArchive::new from many fake EOCD records (DoS)

ZipArchive::new tried every fake end-of-central-directory candidate with no cap, so a small crafted file of EOCD records could take tens of seconds to open (CWE-407, DoS). Fixed in 9.0.4.

Timeline

  1. Found
  2. Reported via private vulnerability report
  3. Advisory published
  4. Entry last updated

Machine-readable: JSON · Markdown · ID security/rust/zip-rs__zip2/2026-10-03-eocd-superlinear-cpu-dos

If this work is useful to you, you can support it on Buy Me a Coffee.