CVE-2026-32630
CVE-2026-32630 is a medium-severity vulnerability in Sindresorhus File-type with a CVSS 3.x base score of 5.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-409.
Key facts
- Severity: Medium (CVSS 3.x base score 5.3)
- EPSS exploit prediction: 0% (22nd percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-12139
- Weakness: CWE-409
- Affected product: Sindresorhus File-type
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2026-32630?
- 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.
- How severe is CVE-2026-32630?
- CVE-2026-32630 has a CVSS 3.x base score of 5.3, rated medium severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability low.
- Is CVE-2026-32630 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (22nd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-32630?
- CVE-2026-32630 affects Sindresorhus File-type. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-32630?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2026-32630 have an EU (EUVD) identifier?
- Yes. CVE-2026-32630 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-12139.
- When was CVE-2026-32630 published?
- CVE-2026-32630 was published on 2026-03-16 and last updated on 2026-06-17.
References
- https://github.com/sindresorhus/file-type/commit/399b0f156063f5aeb1c124a7fd61028f3ea7c124
- https://github.com/sindresorhus/file-type/security/advisories/GHSA-j47w-4g3g-c36v
Affected products (1)
- cpe:2.3:a:sindresorhus:file-type:*:*:*:*:*:node.js:*:*
More vulnerabilities in Sindresorhus File-type
- CVE-2022-36313 — Medium (CVSS 5.5): An issue was discovered in the file-type package before 16.5.4 and 17.x before 17.1.3 for Node.js. A malformed MKV file…
- CVE-2026-31808 — Medium (CVSS 5.3): file-type detects the file type of a file, stream, or data. Prior to 21.3.1, a denial of service vulnerability exists…
All CVEs affecting Sindresorhus File-type →
Other CWE-409 vulnerabilities
- CVE-2026-53430 — High (CVSS 8.7): Improper Handling of Highly Compressed Data (Data Amplification) vulnerability in elixir-grpc grpc…
- CVE-2026-44697 — High (CVSS 8.6): Klever-Go is the Go implementation of the Klever blockchain protocol. Prior to 1.7.17, a remote, unauthenticated…
- CVE-2026-49755 — High (CVSS 8.2): Improper Handling of Highly Compressed Data (Data Amplification) vulnerability in wojtekmach Req allows…
- CVE-2026-48594 — High (CVSS 8.2): Improper Handling of Highly Compressed Data (Data Amplification) vulnerability in elixir-tesla tesla allows a denial of…
- CVE-2026-43970 — High (CVSS 8.2): Improper Handling of Highly Compressed Data (Data Amplification) vulnerability in ninenines cowlib allows…
- CVE-2026-24264 — High (CVSS 7.5): NVIDIA Triton Inference Server for Linux contains a vulnerability where an attacker can cause improper handling of…