Infinite loop Affecting org.webjars.npm:file-type package, versions [16.5.4,]


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.33% (25th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGWEBJARSNPM-15456218
  • published11 Mar 2026
  • disclosed10 Mar 2026
  • creditcrnkovic

Introduced: 10 Mar 2026

CVE-2026-31808  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

Affected versions of this package are vulnerable to Infinite loop in the FileTypeParser class. This is triggered when the ASF (WMV/WMA) parser receives input including an ASF sub-header with a size value of 0. An attacker can interrupt service with a 55-byte payload.

References

CVSS Base Scores

version 4.0
version 3.1