Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2026-31808

19
FAUCET Score

CVE-2026-31808 is a denial of service vulnerability affecting the `file-type` library, specifically its ASF (WMV/WMA) parser, when processing crafted input with a zero-sized sub-header. This medium-severity flaw (CVSS 5.3) allows an unauthenticated attacker to remotely trigger an infinite loop, stalling the Node.js event loop with a small 55-byte payload. Applications using `file-type` prior to version 21.3.1 to detect untrusted files are susceptible. While no public exploit code or active exploitation has been observed, the vulnerability has received minimal community discussion and media coverage.

Impacted Technologies

VendorProductVersion(s)CPE
>= 13.0.0, < 21.3.1CPE matchmatch criteria
cpe:2.3:a:sindresorhus:file-type:*:*:*:*:*:node.js:*:*

CVSS Data

CVSS version used by this source: 3.1

5.3MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
NONE
Integrity Impact
NONE
Availability Impact
LOW
Exploitability Score
3.9
Impact Score
1.4
CvssVersion
3.1

Exploit Intelligence

EPSS Score
0.33%
Probability of exploitation in next 30 days
EPSS Percentile
24.9%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0032 is in the 14th percentile among its peer group of 23,723 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.1 Bluesky, 0.0 Mastodon, and 0.4 GitHub mentions.

Media Mentions

The average CVE in this peer group has 0.0 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (1)

npmpatch availablevia ghsa
Product: file-typeFixed in: 21.3.1

Vendor Advisories (1)

npmGHSA-5v7r-6r5c-r473medium

file-type affected by infinite loop in ASF parser on malformed input with zero-size sub-header

Mar 10, 2026

References

github.com / sindresorhus/file-type/commit/319abf871b50ba2fa221b4a7050059f1ae096f4f
Patch
github.com / sindresorhus/file-type/security/advisories/GHSA-5v7r-6r5c-r473
MitigationPatchVendor Advisory