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
CVSS v4: 6.9 [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]
CVE-ID: CVE-2026-32630
CWE-ID: CWE-409
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

file-type

How to mitigate CVE-2026-32630

Install security update from vendor's website.

file-type - update to 21.3.2

External References

Related Security Bulletins