Description
multiparty is a Node.js library for parsing multipart/form-data request bodies. In versions from 2.1.0 up to but not including 4.3.1, the parser does not bound the amount of memory used while accumulating the headers of a single multipart part. An unauthenticated attacker can send a single request whose part carries a very large volume of header bytes, forcing the parser to buffer all of them and exhausting the process memory, which crashes the server. This is a denial of service with no confidentiality or integrity impact. The issue is fixed in multiparty 4.3.1, which caps the size of the accumulated part headers. Users should upgrade to multiparty 4.3.1 or later.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| multiparty | multiparty | 2.1.0 – < 4.3.1 | 4.3.1 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | node-multiparty | 4.3.1+~4.2.1-1 | — |
| Debian 13 | node-multiparty | No fix yet | — |
| Debian 12 | node-multiparty | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | node-multiparty | No fix yet | — |
| Ubuntu 26.04 LTS | node-multiparty | No fix yet | — |
| Ubuntu 24.04 LTS | node-multiparty | No fix yet | — |
| Ubuntu 22.04 LTS | node-multiparty | No fix yet | — |
| Ubuntu 20.04 LTS | node-multiparty | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | node-multiparty | No fix yet | — |
| Ubuntu 16.04 LTS | node-multiparty | No fix yet | — |