Skip to content
OpenAdvisories
Medium · 6.8 CVE-2026-28525 EUVD-2026-25307GHSA-hggv-rg65-qf4h

SWUpdate Integer Underflow in Multipart Upload Parser

Published Apr 23, 2026 · Updated Jul 28, 2026 · Assigned by VulnCheck

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

VendorProductAffectedFixed
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.

ReleasePackageFixed inAdvisory
Debian 14 swupdate 2025.12+dfsg-9 —
Debian 13 swupdate 2024.12.1+dfsg-3+deb13u2 —
Debian 12 swupdate 2022.12+dfsg-4+deb12u2 —
ReleasePackageFixed inAdvisory
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 —

References