{"id":"CVE-2026-32630","aliases":["GHSA-j47w-4g3g-c36v"],"url":"https://o3.security/vulnerability/CVE-2026-32630","summary":"file-type affected by ZIP Decompression Bomb DoS via [Content_Types].xml entry","details":"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.","published":"2026-03-13T20:54:16.960Z","modified":"2026-07-15T01:49:14.818622726Z","cvss":{"score":5.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"file-type","fixedVersion":"21.3.2"}],"fix":{"url":"https://github.com/sindresorhus/file-type/commit/399b0f156063f5aeb1c124a7fd61028f3ea7c124","label":"sindresorhus/file-type@399b0f1"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32630.json"},{"type":"ADVISORY","url":"https://github.com/sindresorhus/file-type/security/advisories/GHSA-j47w-4g3g-c36v"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32630"},{"type":"FIX","url":"https://github.com/sindresorhus/file-type/commit/399b0f156063f5aeb1c124a7fd61028f3ea7c124"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-15T01:49:14.818622726Z"}}