Improper handling of highly compressed data in file-type - CVE-2026-32630

 

Improper handling of highly compressed data in file-type - CVE-2026-32630

Published: April 28, 2026


Vulnerability identifier: #VU128267
CSH Severity: Medium
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2026-32630
CWE-ID: CWE-409
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
file-type
Software vendor:
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.


Remediation

Install security update from vendor's website.

External links