Skip to content
Heist/ feed
Back to feed
CriticalFix available

swupdate — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2020-25756

A buffer overflow vulnerability exists in the mg_get_http_header function in Cesanta Mongoose 6.18 due to a lack of bounds checking. A crafted HTTP header can exploit this bug. NOTE: a committer has stated "this will not happen in practice.

Products
swupdate
Affected versions
Not specified
Fixed versions
2022.12+dfsg-1
CVEs
CVE-2020-25756
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 12:50 UTC · Revision 1

Source evidence

DEBIAN-CVE-2020-25756

core-osv · Original source

Published 18 Sept 2020, 05:15 UTC

A buffer overflow vulnerability exists in the mg_get_http_header function in Cesanta Mongoose 6.18 due to a lack of bounds checking. A crafted HTTP header can exploit this bug. NOTE: a committer has stated "this will not happen in practice.

osv:DEBIAN-CVE-2020-25756

swupdate

Fixed versions: 2022.12+dfsg-1

swupdate

Fixed versions: 2022.12+dfsg-1

swupdate

Fixed versions: 2022.12+dfsg-1

Complete source record
{
  "id": "131a44b0c9779bae0e9522a0ff39a6d5f582808b19d9aff030aa8775a2bd1ba7",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2020-25756",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2020-25756",
    "summary": "A buffer overflow vulnerability exists in the mg_get_http_header function in Cesanta Mongoose 6.18 due to a lack of bounds checking. A crafted HTTP header can exploit this bug. NOTE: a committer has stated \"this will not happen in practice.",
    "evidence": "osv:DEBIAN-CVE-2020-25756",
    "products": [
      {
        "name": {
          "value": "swupdate",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2022.12+dfsg-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "swupdate",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2022.12+dfsg-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "swupdate",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2022.12+dfsg-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "DEBIAN-CVE-2020-25756",
      "aliases": [
        "DEBIAN-CVE-2020-25756"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2022.12+dfsg-1"
                }
              ]
            }
          ],
          "package": {
            "name": "swupdate",
            "purl": "pkg:deb/debian/swupdate?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-25756.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2022.12+dfsg-1"
                }
              ]
            }
          ],
          "package": {
            "name": "swupdate",
            "purl": "pkg:deb/debian/swupdate?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-25756.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2022.12+dfsg-1"
                }
              ]
            }
          ],
          "package": {
            "name": "swupdate",
            "purl": "pkg:deb/debian/swupdate?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-25756.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-26T12:01:04.805288991Z",
      "provider": "osv",
      "upstream": [
        "CVE-2020-25756"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2020-25756"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2020-25756",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 451449,
  "published_at": "2020-09-18T05:15:13.197+00:00"
}