{"id":"DHI-5aof-x26o-zbvk-ubzo","summary":"file-type detects the file type of a file, stream, or data. Prior to 21.3.1, a denial of service vulnerability exists…","details":"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.","modified":"2026-11-19T00:00:02.859823540Z","published":"2026-11-10T05:02:55Z","upstream":["CVE-2026-31808"],"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-5aof-x26o-zbvk-ubzo"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31808"},{"type":"ADVISORY","url":"https://github.com/sindresorhus/file-type/security/advisories/GHSA-5v7r-6r5c-r473"},{"type":"FIX","url":"https://github.com/sindresorhus/file-type/commit/319abf871b50ba2fa221b4a7050059f1ae096f4f"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-5v7r-6r5c-r473"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-31808"},{"type":"FIX","url":"https://www.cve.org/CVERecord?id=CVE-2026-31808"}],"affected":[{"package":{"name":"redisinsight-3","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/redisinsight-3"},"versions":["3.10.0-r0","3.8.0-r0","3.8.0-r1","3.8.0-r10","3.8.0-r2","3.8.0-r3","3.8.0-r4","3.8.0-r5","3.8.0-r7","3.8.0-r8","3.8.0-r9"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-5aof-x26o-zbvk-ubzo.json","owner_kind":"HSP"}},{"package":{"name":"redisinsight-3","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/redisinsight-3"},"versions":["3.10.0-0","3.8.0-0","3.8.0-1","3.8.0-2","3.8.0-3","3.8.0-4","3.8.0-5","3.8.0-7","3.8.0-8","3.8.0-9"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-5aof-x26o-zbvk-ubzo.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}]}