csirt@kutim:~/threat-intel/cve/CVE-2026-31808

Katalog CVE

CVSS 5.3 · Medium EPSS 0,43%

Kerentanan Loop with Unreachable Exit Condition ('Infinite Loop') pada sindresorhus file-type. Skor CVSS 3.1 5.3 (Medium) menurut github.com.

Deskripsi (NVD)

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.

Rincian

Terbit di NVD
10 Maret 2026
Terakhir diubah
17 Juni 2026
Status NVD
Analyzed
CVSS 3.1
5.3 (Medium), sumber github.com
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L · uraikan di kalkulator
Jenis kelemahan (CWE)
CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')
EPSS (30 hari)
0,43% peluang dieksploitasi; lebih tinggi dari 35,9% CVE lain

Produk dan versi terdampak

VendorProdukVersi terdampak
sindresorhus file-type Versi 13.0.0 hingga sebelum 21.3.1

> Data dari konfigurasi CPE di NVD.

Referensi dan perbaikan

Sumber: NVD · CVE.org · EPSS. Halaman ini disusun otomatis dari data tersebut; pembaruan terakhir 5 Okt 2026, 20:11 WITA. Kalau sistem di Perangkat Daerah memakai produk ini dan butuh bantuan, laporkan lewat kanal pelaporan.