Approved changes feed: RSS · Atom
cpe:2.3:a:sindresorhus:file-type:*:*:*:*:*:*:*:*part: a version: * update: *
| Vendor | Sindresorhus (c29ef01a-49b0-533a-a3b4-6693553ffb2a) |
|---|---|
| Product | File Type (f35e2130-b15c-599a-80de-26bf37afc856) |
| Edition | * |
| Language | * |
| Software edition | * |
| Target software | * |
| Target hardware | * |
| Other | * |
Notes
Imported from purl2cpe mapping
PURL mappings
| PURL | Source | Last updated |
|---|---|---|
pkg:github/sindresorhus/file-type |
purl2cpe | 2026-06-01 10:12:14.654922 |
Vulnerability references
| Identifier | cpeApplicability | Submitted | db.gcve.eu details | Rationale |
|---|---|---|---|---|
CVE:CVE-2026-32630 |
vulnerable | 2026-06-08 07:57:17.774502 |
file-type affected by ZIP Decompression Bomb DoS via [Content_Types].xml entry
MEDIUM (5.3)
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
Updated: 2026-03-16T16:59:36.473Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2026-31808 |
vulnerable | 2026-06-08 07:57:15.915452 |
file-type affected by infinite loop in ASF parser on malformed input with zero-size sub-header
MEDIUM (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 in the ASF (WMV/WMA) file type detection parser. When parsing a crafted input where an ASF sub-header has a size field of zero, the parser enters an infinite loop. The payload value becomes negative (-24), causing tokenizer.ignore(payload) to move the read position backwards, so the same sub-header is read repeatedly forever. Any application that uses file-type to detect the type of untrusted/attacker-controlled input is affected. An attacker can stall the Node.js event loop with a 55-byte payload. Fixed in version 21.3.1.
Published: 2026-03-10T21:01:55.466Z
Updated: 2026-03-11T16:00:14.754Z |
Imported from gcve-enriched-dumps CVE data |
Contribute
You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.
Inspect record JSON
Open this panel to browse, search, copy or download the JSON record.