swupdate — security advisory
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.
- Products
- swupdate
- Affected versions
- 2020.11-2, 2021.04-1.1, 2021.04-2, 2021.04-2build1, 2021.11-1, 2023.05+dfsg-3, 2023.05+dfsg-4, 2023.05+dfsg-4build1, 2023.05+dfsg-5, 2023.12+dfsg-1, 2023.12.1+dfsg-1ubuntu1, 2023.12.1+dfsg-1ubuntu4, 2023.12.1+dfsg-1ubuntu5, 2024.12.1+dfsg-1build2, 2024.12.1+dfsg-2, 2024.12.1+dfsg-3, 2025.05+dfsg-2ubuntu1, 2025.05+dfsg-3ubuntu1, 2025.12+dfsg-1ubuntu1, 2025.12+dfsg-2ubuntu1, 2025.12+dfsg-3ubuntu1, 2025.12+dfsg-4ubuntu1, 2026.05+dfsg-3ubuntu2, 2026.05+dfsg-4ubuntu1, 2026.05.1+dfsg-1ubuntu1, 2026.05.1+git20261001+dfsg-1ubuntu1
- Fixed versions
- Not specified
- CVEs
- CVE-2026-28525
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 02:06 UTC · Revision 1
Source evidence
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.
osv:UBUNTU-CVE-2026-28525
swupdate
Fixed versions: Not specified
swupdate
Fixed versions: Not specified
swupdate
Fixed versions: Not specified
swupdate
Fixed versions: Not specified
swupdate
Fixed versions: Not specified
Complete source record
{
"id": "84b892f78d25932abeca7d400531244666ff2207b68bb725e41a78d5d7e2e04f",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-28525",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-28525",
"summary": "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.",
"evidence": "osv:UBUNTU-CVE-2026-28525",
"products": [
{
"name": {
"value": "swupdate",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2020.11-2",
"evidence": "/affected/0/versions"
},
{
"value": "2021.04-1.1",
"evidence": "/affected/0/versions"
},
{
"value": "2021.04-2",
"evidence": "/affected/0/versions"
},
{
"value": "2021.04-2build1",
"evidence": "/affected/0/versions"
},
{
"value": "2021.11-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "swupdate",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2023.05+dfsg-3",
"evidence": "/affected/1/versions"
},
{
"value": "2023.05+dfsg-4",
"evidence": "/affected/1/versions"
},
{
"value": "2023.05+dfsg-4build1",
"evidence": "/affected/1/versions"
},
{
"value": "2023.05+dfsg-5",
"evidence": "/affected/1/versions"
},
{
"value": "2023.12+dfsg-1",
"evidence": "/affected/1/versions"
},
{
"value": "2023.12.1+dfsg-1ubuntu1",
"evidence": "/affected/1/versions"
},
{
"value": "2023.12.1+dfsg-1ubuntu4",
"evidence": "/affected/1/versions"
},
{
"value": "2023.12.1+dfsg-1ubuntu5",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "swupdate",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2024.12.1+dfsg-1build2",
"evidence": "/affected/2/versions"
},
{
"value": "2024.12.1+dfsg-2",
"evidence": "/affected/2/versions"
},
{
"value": "2024.12.1+dfsg-3",
"evidence": "/affected/2/versions"
},
{
"value": "2025.05+dfsg-2ubuntu1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "swupdate",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2025.12+dfsg-4ubuntu1",
"evidence": "/affected/3/versions"
},
{
"value": "2026.05+dfsg-3ubuntu2",
"evidence": "/affected/3/versions"
},
{
"value": "2026.05+dfsg-4ubuntu1",
"evidence": "/affected/3/versions"
},
{
"value": "2026.05.1+dfsg-1ubuntu1",
"evidence": "/affected/3/versions"
},
{
"value": "2026.05.1+git20261001+dfsg-1ubuntu1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "swupdate",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2025.05+dfsg-2ubuntu1",
"evidence": "/affected/4/versions"
},
{
"value": "2025.05+dfsg-3ubuntu1",
"evidence": "/affected/4/versions"
},
{
"value": "2025.12+dfsg-1ubuntu1",
"evidence": "/affected/4/versions"
},
{
"value": "2025.12+dfsg-2ubuntu1",
"evidence": "/affected/4/versions"
},
{
"value": "2025.12+dfsg-3ubuntu1",
"evidence": "/affected/4/versions"
},
{
"value": "2025.12+dfsg-4ubuntu1",
"evidence": "/affected/4/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2026-28525",
"aliases": [
"UBUNTU-CVE-2026-28525"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:H"
},
{
"type": "CVSS_V4",
"score": "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"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "swupdate",
"purl": "pkg:deb/ubuntu/swupdate?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"2020.11-2",
"2021.04-1.1",
"2021.04-2",
"2021.04-2build1",
"2021.11-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-28525.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libswupdate0.1",
"binary_version": "2021.11-1"
},
{
"binary_name": "lua-swupdate",
"binary_version": "2021.11-1"
},
{
"binary_name": "swupdate",
"binary_version": "2021.11-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "swupdate",
"purl": "pkg:deb/ubuntu/swupdate?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"2023.05+dfsg-3",
"2023.05+dfsg-4",
"2023.05+dfsg-4build1",
"2023.05+dfsg-5",
"2023.12+dfsg-1",
"2023.12.1+dfsg-1ubuntu1",
"2023.12.1+dfsg-1ubuntu4",
"2023.12.1+dfsg-1ubuntu5"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-28525.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libswupdate0.1",
"binary_version": "2023.12.1+dfsg-1ubuntu5"
},
{
"binary_name": "lua-swupdate",
"binary_version": "2023.12.1+dfsg-1ubuntu5"
},
{
"binary_name": "swupdate",
"binary_version": "2023.12.1+dfsg-1ubuntu5"
},
{
"binary_name": "swupdate-www",
"binary_version": "2023.12.1+dfsg-1ubuntu5"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "swupdate",
"purl": "pkg:deb/ubuntu/swupdate?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"2024.12.1+dfsg-1build2",
"2024.12.1+dfsg-2",
"2024.12.1+dfsg-3",
"2025.05+dfsg-2ubuntu1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-28525.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libswupdate0.1",
"binary_version": "2025.05+dfsg-2ubuntu1"
},
{
"binary_name": "lua-swupdate",
"binary_version": "2025.05+dfsg-2ubuntu1"
},
{
"binary_name": "swupdate",
"binary_version": "2025.05+dfsg-2ubuntu1"
},
{
"binary_name": "swupdate-www",
"binary_version": "2025.05+dfsg-2ubuntu1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "swupdate",
"purl": "pkg:deb/ubuntu/swupdate?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"2025.12+dfsg-4ubuntu1",
"2026.05+dfsg-3ubuntu2",
"2026.05+dfsg-4ubuntu1",
"2026.05.1+dfsg-1ubuntu1",
"2026.05.1+git20261001+dfsg-1ubuntu1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-28525.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libswupdate0.1",
"binary_version": "2026.05.1+git20261001+dfsg-1ubuntu1"
},
{
"binary_name": "lua-swupdate",
"binary_version": "2026.05.1+git20261001+dfsg-1ubuntu1"
},
{
"binary_name": "swupdate",
"binary_version": "2026.05.1+git20261001+dfsg-1ubuntu1"
},
{
"binary_name": "swupdate-www",
"binary_version": "2026.05.1+git20261001+dfsg-1ubuntu1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "swupdate",
"purl": "pkg:deb/ubuntu/swupdate?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"2025.05+dfsg-2ubuntu1",
"2025.05+dfsg-3ubuntu1",
"2025.12+dfsg-1ubuntu1",
"2025.12+dfsg-2ubuntu1",
"2025.12+dfsg-3ubuntu1",
"2025.12+dfsg-4ubuntu1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-28525.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libswupdate0.1",
"binary_version": "2025.12+dfsg-4ubuntu1"
},
{
"binary_name": "lua-swupdate",
"binary_version": "2025.12+dfsg-4ubuntu1"
},
{
"binary_name": "swupdate",
"binary_version": "2025.12+dfsg-4ubuntu1"
},
{
"binary_name": "swupdate-www",
"binary_version": "2025.12+dfsg-4ubuntu1"
}
]
}
}
],
"modified": "2026-10-17T12:58:07.850117361Z",
"provider": "osv",
"upstream": [
"CVE-2026-28525"
],
"references": [
"https://ubuntu.com/security/CVE-2026-28525",
"https://www.cve.org/CVERecord?id=CVE-2026-28525"
]
},
"related_cves": [
{
"value": "CVE-2026-28525",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/1/score"
},
"source_id": "core-osv",
"document_id": 358183,
"published_at": "2026-04-23T21:16:00+00:00"
}