Skip to content
Heist/ feed
Back to feed
Low

swupdate — security advisory

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

A security vulnerability has been detected in Cesanta Mongoose up to 7.20. This issue affects the function mg_aes_gcm_decrypt of the file /src/tls_aes128.c of the component GCM Authentication Tag Handler. Such manipulation leads to improper verification of cryptographic signature. The attack may be performed from remote. A high complexity level is associated with this attack. The exploitability is assessed as difficult. The exploit has been disclosed publicly and may be used. Upgrading to version 7.21 is capable of addressing this issue. It is advisable to upgrade the affected component. VulDB has contacted the vendor early and they confirmed quickly, that this issue got fixed already.

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

Source evidence

UBUNTU-CVE-2026-6986

core-osv · Original source

Published 25 Apr 2026, 17:16 UTC

A security vulnerability has been detected in Cesanta Mongoose up to 7.20. This issue affects the function mg_aes_gcm_decrypt of the file /src/tls_aes128.c of the component GCM Authentication Tag Handler. Such manipulation leads to improper verification of cryptographic signature. The attack may be performed from remote. A high complexity level is associated with this attack. The exploitability is assessed as difficult. The exploit has been disclosed publicly and may be used. Upgrading to version 7.21 is capable of addressing this issue. It is advisable to upgrade the affected component. VulDB has contacted the vendor early and they confirmed quickly, that this issue got fixed already.

osv:UBUNTU-CVE-2026-6986

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": "bfc55ab0fbe2d14d6296cc46c85ad1ffb73f62401ce13b05ce4071a1727631b9",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-6986",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-6986",
    "summary": "A security vulnerability has been detected in Cesanta Mongoose up to 7.20. This issue affects the function mg_aes_gcm_decrypt of the file /src/tls_aes128.c of the component GCM Authentication Tag Handler. Such manipulation leads to improper verification of cryptographic signature. The attack may be performed from remote. A high complexity level is associated with this attack. The exploitability is assessed as difficult. The exploit has been disclosed publicly and may be used. Upgrading to version 7.21 is capable of addressing this issue. It is advisable to upgrade the affected component. VulDB has contacted the vendor early and they confirmed quickly, that this issue got fixed already.",
    "evidence": "osv:UBUNTU-CVE-2026-6986",
    "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": "low",
    "structured": {
      "id": "UBUNTU-CVE-2026-6986",
      "aliases": [
        "UBUNTU-CVE-2026-6986"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N"
        },
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/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-6986.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-6986.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-6986.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-6986.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-6986.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:59:27.496623643Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-6986"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-6986",
        "https://www.cve.org/CVERecord?id=CVE-2026-6986"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-6986",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 359656,
  "published_at": "2026-04-25T17:16:00+00:00"
}