pillarjs/multiparty · Security
multiparty vulnerable to Denial of Service via Uncaught Exception in filename* parameter parsing
- GHSA ID
- GHSA-xh3c-6gcq-g4rv
- CVE ID
- CVE-2026-8162
- Severity
- high
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v3
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Description
Impact
[email protected] and lower versions are vulnerable to denial of service via uncaught exception. By sending a multipart/form-data request with a Content-Disposition: filename*=utf-8'' header containing a malformed percent-encoding (e.g., %FF, %GG), the parser invokes decodeURI on the value without try/catch. The resulting URIError propagates as an uncaught exception and crashes the process. Any service accepting multipart uploads via multiparty is affected.
Patches
Users should upgrade to [email protected] or higher.
Workarounds
None.
CWEs
- CWE-755 · Improper Handling of Exceptional Conditions