Description
SWUpdate contains an integer underflow vulnerability in the multipart upload parser in mongoose_multipart.c that allows unauthenticated attackers to cause a denial of service by sending a crafted HTTP POST request to /upload with a malformed multipart boundary and controlled TCP stream timing. Attackers can trigger an integer underflow in the mg_http_multipart_continue_wait_for_chunk() function when the buffer length falls within a specific range, causing an out-of-bounds heap read past the allocated receive buffer to a local IPC socket.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| sbabic | swupdate | ≤ 2025.12 | — |
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 | swupdate | 2025.12+dfsg-9 | — |
| Debian 13 | swupdate | 2024.12.1+dfsg-3+deb13u2 | — |
| Debian 12 | swupdate | 2022.12+dfsg-4+deb12u2 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | swupdate | No fix yet | — |
| Ubuntu 26.04 LTS | swupdate | No fix yet | — |
| Ubuntu 25.10 | swupdate | No fix yet | — |
| Ubuntu 24.04 LTS | swupdate | No fix yet | — |
| Ubuntu 22.04 LTS | swupdate | No fix yet | — |