Skip to content
Heist/ feed
Back to feed
High

swupdate — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-5245

A vulnerability was found in Cesanta Mongoose up to 7.20. This impacts the function handle_mdns_record of the file mongoose.c of the component mDNS Record Handler. Performing a manipulation of the argument buf results in stack-based buffer overflow. Remote exploitation of the attack is possible. A high degree of complexity is needed for the attack. The exploitability is said to be difficult. The exploit has been made public and could be used. Upgrading to version 7.21 will fix this issue. The patch is named 0d882f1b43ff2308b7486a56a9d60cd6dba8a3f1. You should upgrade the affected component. The vendor was contacted early, responded in a very professional manner and quickly released a fixed version of the affected product.

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-5245
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 02:28 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-5245

core-osv · Original source

Published 2 Apr 2026, 10:16 UTC

A vulnerability was found in Cesanta Mongoose up to 7.20. This impacts the function handle_mdns_record of the file mongoose.c of the component mDNS Record Handler. Performing a manipulation of the argument buf results in stack-based buffer overflow. Remote exploitation of the attack is possible. A high degree of complexity is needed for the attack. The exploitability is said to be difficult. The exploit has been made public and could be used. Upgrading to version 7.21 will fix this issue. The patch is named 0d882f1b43ff2308b7486a56a9d60cd6dba8a3f1. You should upgrade the affected component. The vendor was contacted early, responded in a very professional manner and quickly released a fixed version of the affected product.

osv:UBUNTU-CVE-2026-5245

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": "f405e105983e49d6de85228e61c84a97e4d216dcf4f0566a8269b2b368f34aac",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-5245",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-5245",
    "summary": "A vulnerability was found in Cesanta Mongoose up to 7.20. This impacts the function handle_mdns_record of the file mongoose.c of the component mDNS Record Handler. Performing a manipulation of the argument buf results in stack-based buffer overflow. Remote exploitation of the attack is possible. A high degree of complexity is needed for the attack. The exploitability is said to be difficult. The exploit has been made public and could be used. Upgrading to version 7.21 will fix this issue. The patch is named 0d882f1b43ff2308b7486a56a9d60cd6dba8a3f1. You should upgrade the affected component. The vendor was contacted early, responded in a very professional manner and quickly released a fixed version of the affected product.",
    "evidence": "osv:UBUNTU-CVE-2026-5245",
    "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-5245",
      "aliases": [
        "UBUNTU-CVE-2026-5245"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
        },
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P"
        },
        {
          "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-5245.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-5245.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-5245.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-5245.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-5245.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:33.852467544Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-5245"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-5245",
        "https://www.cve.org/CVERecord?id=CVE-2026-5245"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-5245",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/1/score"
  },
  "source_id": "core-osv",
  "document_id": 358785,
  "published_at": "2026-04-02T10:16:00+00:00"
}