Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach SWUpdate /upload over HTTP
-
DeliverySend malformed multipart boundary POST
-
ExploitTime TCP stream to shrink buffer
-
ExecutionTrigger integer underflow in length calc
-
PersistOut-of-bounds heap read past buffer
-
ImpactCorrupt IPC socket write, crash updater
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer underflow checks
|
| Exploitation Conditions | Requires that the SWUpdate Mongoose-based web upload interface is enabled and network-reachable, with the attacker able to reach the /upload endpoint over HTTP. Exploitation specifically needs a malformed multipart boundary AND attacker-controlled TCP stream timing so that the receive buffer length io->len falls below boundary.len + 8, landing in the narrow range that causes the size_t subtraction to underflow. No authentication is required (PR:N), but the attack is limited by high complexity: the buffer length must be coerced into a specific range via precise stream timing, and devices that do not expose the web upload interface (or expose it only on isolated networks) are not remotely reachable. Impact is limited to availability (denial of service) - no code execution or data disclosure is indicated. |
| Impact | The signals converge on a genuine but non-urgent issue. The CVSS 4.0 vector (AV:N/AC:H/AT:N/PR:N/UI:N) shows network reach with no authentication, but AC:H reflects the real constraint: exploitation depends on landing the buffer length in a narrow range and controlling TCP stream timing, which is not trivially repeatable. Impact is confined to availability (VC:N/VI:N/VA:H) - no confidentiality or integrity loss - matching a DoS classification. Corroborating this, EPSS is 0.03% (10th percentile), CISA SSVC lists Exploitation: none, Automatable: no, and Technical Impact: partial, and there is no KEV listing and no known POC. The score of 8.2 is driven largely by the unauthenticated network vector; in practice the high attack complexity, availability-only impact, and the fact that the HTTP upload interface is not always enabled or internet-exposed on embedded devices lower the real-world priority. No conflicting data was identified; the main uncertainty is whether a given deployment exposes the /upload endpoint. |
| Exploit ScenarioDerived | An attacker with network reach to a device's SWUpdate web interface sends a crafted HTTP POST to /upload using a malformed multipart boundary, then manipulates TCP segment timing so the buffered length falls into the vulnerable range and triggers the integer underflow. The resulting out-of-bounds read corrupts data delivered to the local IPC socket and crashes or destabilizes the update service, denying update functionality. No public exploit is known, and the required timing control (CVSS AC:H) makes reliable triggering non-trivial. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 24, 2026
Denial of service in SWUpdate (versions through 2025.12) allows unauthenticated remote attackers to crash the update service by sending a crafted HTTP POST to the /upload endpoint with a malformed multipart boundary and controlled TCP stream timing. An integer underflow in the bundled Mongoose multipart parser produces an out-of-bounds heap read that corrupts data written to a local IPC socket. No public exploit identified at time of analysis; EPSS is very low (0.03%) and CISA SSVC rates exploitation as none, but a vendor patch commit is available.
RemediationAI
Upstream fix available (PR/commit); released patched version not independently confirmed - apply the vendor patch commit beee2dc0feef1cfe84f1aa6fc980e104b2e47a74 (https://github.com/sbabic/swupdate/commit/beee2dc0feef1cfe84f1aa6fc980e104b2e47a74), which corrects the boundary length arithmetic in mongoose_multipart.c, and rebuild/reflash affected firmware images; track the sbabic/swupdate repository for the next tagged release incorporating this commit. As a compensating control until patched, disable the built-in web/HTTP upload interface if the device does not require remote update uploads, since this removes the vulnerable code path entirely at the cost of losing web-based updates. Where the interface must remain, restrict network access to the /upload endpoint via firewall rules or a reverse proxy so only trusted management hosts can reach it, and place the update service on an isolated management VLAN; these controls reduce reachability but do not fix the underflow itself. Refer to the VulnCheck advisory (https://www.vulncheck.com/advisories/swupdate-integer-underflow-in-multipart-upload-parser) for details.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
SWUpdate is an embedded-Linux software update framework (typically integrated into Yocto/OpenEmbedded firmware images) that exposes an optional web/HTTP interface for uploading update artifacts. That interface reuses a vendored copy of the Mongoose embedded web server, and the flaw lives in mongoose_multipart.c within mg_http_multipart_continue_wait_for_chunk(). The root cause is CWE-191 (Integer Underflow): the code computes size_t data_len = io->len - (mp_stream->boundary.len + 8). Because data_len is an unsigned size_t, when the buffered input length io->len is smaller than boundary.len + 8, the subtraction wraps to a huge positive value, driving an out-of-bounds heap read whose data is then written past the receive buffer to the IPC socket. The upstream fix changes the subtracted constant from 8 to 6 in both the length calculation and the corresponding mg_iobuf_del() call, aligning the boundary-plus-delimiter accounting so the length can no longer underflow.
Know when Swupdate gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network-reachable upload endpoint with no auth (AV:N/PR:N), but reliable triggering needs controlled TCP timing (AC:H); impact is availability-only DoS (A:H, C:N/I:N).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
4DescriptionCVE.org
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 that writes data beyond the allocated receive buffer to a local IPC socket.
Executive ViewAI
SWUpdate versions through 2025.12 contain a denial-of-service vulnerability that can crash the update service; no public exploit has been identified at time of analysis. While exploitation likelihood is minimal based on EPSS assessment, this vulnerability could disrupt security patch delivery to managed devices. Organizations should prioritize vendor patch deployment to maintain update infrastructure availability.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Malicious firmware updates can be installed on devices running SWUpdate through 2026.05.1 due to improper validation of
Local privilege escalation in SWUpdate versions before 2026.05 allows unprivileged users to gain root or install attacke
EUVD-2026-25307
GHSA-hggv-rg65-qf4h
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB