Test filesArchives › corrupt-central-directory.zip

Corrupt ZIP file

Valid local file headers, but the central directory signature is overwritten with garbage.

↓ Download corrupt-central-directory.zip
Filenamecorrupt-central-directory.zip
FormatZIP
Size219 bytes (219 bytes)
MIME typeapplication/zip
SHA-256d1194edeac6e322b76436927038138a9dc8325a93fc5daed8e399df8b68ed7d5
What this file catchesReaders that trust the central directory blindly and crash, versus tolerant ones that can recover entries by scanning local headers.

Download & verify

curl -fsSL -o "corrupt-central-directory.zip" "https://files.hexaqa.com/archive/corrupt-central-directory.zip"
curl -fsSL "https://files.hexaqa.com/archive/corrupt-central-directory.zip" | sha256sum # expect: d1194edeac6e322b76436927038138a9dc8325a93fc5daed8e399df8b68ed7d5

More archives test files

absolute-path.zipempty.zipmixed-content-50mb.zipmodest-zip-bomb.zipnested-10-deep.zipsingle-file.gzunicode-entry-names.zipvalid-flat.zip

← All Archives files