CVE-2026-32630CWE-409

file-type affected by ZIP Decompression Bomb DoS via [Content_Types].xml entry

Medium · published March 13, 2026

CVSS v3.1
5.3
EPSS
0%
Percentile
38.0
In the wild
Unconfirmed
What it is

file-type detects the file type of a file, stream, or data. From 20.0.0 to 21.3.1, a crafted ZIP file can trigger excessive memory growth during type detection in file-type when using fileTypeFromBuffer(), fileTypeFromBlob(), or fileTypeFromFile(). The ZIP inflate output limit is enforced for stream-based detection, but not for known-size inputs. As a result, a small compressed ZIP can cause file-type to inflate and process a much larger payload while probing ZIP-based formats such as OOXML. This vulnerability is fixed in 21.3.2.

The record
Technical detail
CVSS v3.1
5.3 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CVSS v4.0
Not supplied
EPSS
0.00449 · 38.0th percentile
Weakness
CWE-409 · Improper Handling of Highly Compressed Data (Data Amplification)
Published
2026-03-13T20:54Z
EPSS history
Timeline
  • 13 MAR 20:54Z
    file-type affected by ZIP Decompression Bomb DoS via [Content_Types].xml entry
    cvelistv5