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…
Historical advisory recorded 25 Oct 2026 07:19:26 UTC. Read the latest advisory.
nvd · CVE-2026-32630
Publishedfile-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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-32630 · CVE overview and exploitation status
nvd · CVE-2026-32630
This historical advisory does not include today's related changes. Open the latest advisory to find current connections.