Improper handling of highly compressed data in file-type - CVE-2026-32630
Published: April 28, 2026
file-type
Sindre Sorhus
Description
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to improper handling of highly compressed data in the ZIP detection logic when processing crafted ZIP files through fileTypeFromBuffer(), fileTypeFromBlob(), or fileTypeFromFile(). A remote attacker can supply a specially crafted ZIP file to cause a denial of service.
Only known-size inputs are affected during ZIP-based type detection of entries such as [Content_Types].xml; stream-based detection is not affected.