Skip to content
Heist/ feed
Back to feed
MediumFix available

heimdal, samba — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2022-3437

A heap-based buffer overflow vulnerability was found in Samba within the GSSAPI unwrap_des() and unwrap_des3() routines of Heimdal. The DES and Triple-DES decryption routines in the Heimdal GSSAPI library allow a length-limited write buffer overflow on malloc() allocated memory when presented with a maliciously small packet. This flaw allows a remote user to send specially crafted malicious data to the application, possibly resulting in a denial of service (DoS) attack.

Products
heimdal, samba
Affected versions
Not specified
Fixed versions
2:4.16.6+dfsg-1, 7.8.git20221115.a6cf945+dfsg-1
CVEs
CVE-2022-3437
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 14:57 UTC · Revision 1

Source evidence

DEBIAN-CVE-2022-3437

core-osv · Original source

Published 12 Jan 2023, 15:15 UTC

A heap-based buffer overflow vulnerability was found in Samba within the GSSAPI unwrap_des() and unwrap_des3() routines of Heimdal. The DES and Triple-DES decryption routines in the Heimdal GSSAPI library allow a length-limited write buffer overflow on malloc() allocated memory when presented with a maliciously small packet. This flaw allows a remote user to send specially crafted malicious data to the application, possibly resulting in a denial of service (DoS) attack.

osv:DEBIAN-CVE-2022-3437

heimdal

Fixed versions: 7.8.git20221115.a6cf945+dfsg-1

heimdal

Fixed versions: 7.8.git20221115.a6cf945+dfsg-1

heimdal

Fixed versions: 7.8.git20221115.a6cf945+dfsg-1

samba

Fixed versions: 2:4.16.6+dfsg-1

samba

Fixed versions: 2:4.16.6+dfsg-1

samba

Fixed versions: 2:4.16.6+dfsg-1

Complete source record
{
  "id": "4b4ff6feeff8351627a71b2302aa30b213dcb2eb47cbb81e9da9c25523007c43",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2022-3437",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2022-3437",
    "summary": "A heap-based buffer overflow vulnerability was found in Samba within the GSSAPI unwrap_des() and unwrap_des3() routines of Heimdal. The DES and Triple-DES decryption routines in the Heimdal GSSAPI library allow a length-limited write buffer overflow on malloc() allocated memory when presented with a maliciously small packet. This flaw allows a remote user to send specially crafted malicious data to the application, possibly resulting in a denial of service (DoS) attack.",
    "evidence": "osv:DEBIAN-CVE-2022-3437",
    "products": [
      {
        "name": {
          "value": "heimdal",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "7.8.git20221115.a6cf945+dfsg-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "heimdal",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "7.8.git20221115.a6cf945+dfsg-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "heimdal",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "7.8.git20221115.a6cf945+dfsg-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "samba",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2:4.16.6+dfsg-1",
            "evidence": "/affected/3/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "samba",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2:4.16.6+dfsg-1",
            "evidence": "/affected/4/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "samba",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2:4.16.6+dfsg-1",
            "evidence": "/affected/5/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2022-3437",
      "aliases": [
        "DEBIAN-CVE-2022-3437"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "7.8.git20221115.a6cf945+dfsg-1"
                }
              ]
            }
          ],
          "package": {
            "name": "heimdal",
            "purl": "pkg:deb/debian/heimdal?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-3437.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "7.8.git20221115.a6cf945+dfsg-1"
                }
              ]
            }
          ],
          "package": {
            "name": "heimdal",
            "purl": "pkg:deb/debian/heimdal?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-3437.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "7.8.git20221115.a6cf945+dfsg-1"
                }
              ]
            }
          ],
          "package": {
            "name": "heimdal",
            "purl": "pkg:deb/debian/heimdal?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-3437.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2:4.16.6+dfsg-1"
                }
              ]
            }
          ],
          "package": {
            "name": "samba",
            "purl": "pkg:deb/debian/samba?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-3437.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2:4.16.6+dfsg-1"
                }
              ]
            }
          ],
          "package": {
            "name": "samba",
            "purl": "pkg:deb/debian/samba?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-3437.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2:4.16.6+dfsg-1"
                }
              ]
            }
          ],
          "package": {
            "name": "samba",
            "purl": "pkg:deb/debian/samba?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-3437.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-15T08:02:39.544941456Z",
      "provider": "osv",
      "upstream": [
        "CVE-2022-3437"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2022-3437"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2022-3437",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 323899,
  "published_at": "2023-01-12T15:15:10.083+00:00"
}