NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2026-8162: multiparty vulnerable to Denial of Service via Uncaught Exception in filename* parameter parsing

highCVSS 3.1 7.5GHSA-xh3c-6gcq-g4rv

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.

Published May 18, 2026 · Updated May 23, 2026

Affected packages

multiparty

Ecosystem
npm
Affected
<= 4.2.3
Fixed in
4.3.0
Check
npm ls multiparty

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to ByamB4, bjohansebas, blakeembrey, UlisesGascon.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More npm vulnerabilities

All npm entries