Skip to main content

SWUpdate CVE-2026-28525

| EUVDEUVD-2026-25307 HIGH
Integer Underflow (CWE-191)
2026-04-23 VulnCheck GHSA-hggv-rg65-qf4h
8.2
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach SWUpdate /upload over HTTP
  2. Delivery
    Send malformed multipart boundary POST
  3. Exploit
    Time TCP stream to shrink buffer
  4. Execution
    Trigger integer underflow in length calc
  5. Persist
    Out-of-bounds heap read past buffer
  6. Impact
    Corrupt 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

swupdate 0 ≤2025.12

Affected Packages

euvd swupdate no fix

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

Vendor (VulnCheck) PRIMARY 8.2 HIGH
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
vuln.today AI 5.9 MEDIUM

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

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

4
Severity Changed
Apr 23, 2026 - 21:27 NVD
MEDIUM HIGH
CVSS changed
Apr 23, 2026 - 21:27 NVD
6.8 (MEDIUM) 8.2 (HIGH)
Patch released
Apr 23, 2026 - 21:15 nvd
Patch available
CVE Published
Apr 23, 2026 - 20:59 nvd
HIGH 8.2

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

Why It Matters

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.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 90% exploitable
Prevalence
Medium
widely used embedded Linux/Yocto update framework, but device-specific footprint
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Medium
Technical Impact
Partial

Priority Score

41
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +41
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy