{"schemaVersion":3,"id":"CVE-2026-32630","aliases":["GHSA-j47w-4g3g-c36v","CGA-j6wj-gj35-6f4h","CGA-rpwr-pxp3-rw9p"],"status":"published","duplicateOf":null,"title":"file-type affected by ZIP Decompression Bomb DoS via [Content_Types].xml entry","description":"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.","dates":{"published":"2026-03-13T20:54:16.960Z","modified":"2026-03-16T16:59:36.473Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.3,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","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","exploitability":10,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","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","exploitability":10,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","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","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00449,"percentile":0.37975,"severity":"low","asOf":"2026-10-22T00:00:00.000Z","change":{"pp":0.15,"baselineDate":"2026-09-22T00:00:00.000Z","baselineScore":0.00299},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00432,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00432,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00432,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00432,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00432,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00432,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00432,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00432,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00432,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00432,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00432,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00432,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00432,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00432,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00432,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00432,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00449,"percentile":0.37975}],"last30":[{"date":"2026-09-22T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00432,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00432,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00432,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00432,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00432,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00432,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00432,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00432,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00432,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00432,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00432,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00432,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00432,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00432,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00432,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00432,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00449,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00449,"percentile":0.37975}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_SINDRESORHUS_FILE-TYPE","name":"File Type","source":"github","url":"https://github.com/sindresorhus/file-type/security/advisories/GHSA-j47w-4g3g-c36v","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-409","name":"Improper Handling of Highly Compressed Data (Data Amplification)","description":"The product does not handle or incorrectly handles a compressed input with a very high compression ratio that produces a large output.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/409.html"}],"affected":[{"vendor":"chainguard","product":"redisinsight","name":"redisinsight","label":"redisinsight","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/redisinsight","purlType":"apk","versions":[{"text":"< 3.2.0-r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.2.0-r2","eol":null,"hubHref":null},{"vendor":"Npm","product":"file-type","name":"file-type","label":"file-type","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/file-type","purlType":"npm","versions":[{"text":"≥ 20.0.0, < 21.3.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 20.0.0, < 21.3.2","eol":null,"hubHref":null},{"vendor":"sindresorhus","product":"file-type","name":"file-type","label":"file-type","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 20.0.0, < 21.3.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 20.0.0, < 21.3.2","eol":null,"hubHref":"/vendor/sindresorhus/file-type"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/sindresorhus/file-type/security/advisories/GHSA-j47w-4g3g-c36v","label":"github.com/sindresorhus/file-type/security/advisories/GHSA-j47w-4g3g-c36v","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Advisory","Exploit","Vendor Advisory"]},{"url":"https://github.com/sindresorhus/file-type/commit/399b0f156063f5aeb1c124a7fd61028f3ea7c124","label":"github.com/sindresorhus/file-type/commit/399b0f156063f5aeb1c124a7fd61028f3ea7c124","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX","Patch"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32630","label":"nvd.nist.gov/vuln/detail/CVE-2026-32630","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/sindresorhus/file-type/commit/a155cd71323279de173c54e8c530d300d3854fdd","label":"github.com/sindresorhus/file-type/commit/a155cd71323279de173c54e8c530d300d3854fdd","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/sindresorhus/file-type","label":"github.com/sindresorhus/file-type","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/sindresorhus/file-type/releases/tag/v21.3.2","label":"github.com/sindresorhus/file-type/releases/tag/v21.3.2","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32630.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32630.json","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-H5G7-56X8-W3X5"]},"timeline":[{"kind":"published","date":"2026-03-13T20:54:16.960Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-03-16T16:59:36.473Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":31,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T23:27:15.184Z","stale":false,"partial":false}}