Skip to content
Heist/ feed
Back to feed
MediumFix available

libtpms — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2021-3746

A flaw was found in the libtpms code that may cause access beyond the boundary of internal buffers. The vulnerability is triggered by specially-crafted TPM2 command packets that then trigger the issue when the state of the TPM2's volatile state is written. The highest threat from this vulnerability is to system availability. This issue affects libtpms versions before 0.8.5, before 0.7.9 and before 0.6.6.

Products
libtpms
Affected versions
Not specified
Fixed versions
0.9.1-1
CVEs
CVE-2021-3746
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 00:37 UTC · Revision 1

Source evidence

DEBIAN-CVE-2021-3746

core-osv · Original source

Published 19 Oct 2021, 15:15 UTC

A flaw was found in the libtpms code that may cause access beyond the boundary of internal buffers. The vulnerability is triggered by specially-crafted TPM2 command packets that then trigger the issue when the state of the TPM2's volatile state is written. The highest threat from this vulnerability is to system availability. This issue affects libtpms versions before 0.8.5, before 0.7.9 and before 0.6.6.

osv:DEBIAN-CVE-2021-3746

libtpms

Fixed versions: 0.9.1-1

libtpms

Fixed versions: 0.9.1-1

libtpms

Fixed versions: 0.9.1-1

Complete source record
{
  "id": "f30b5628595c667e16ecf96c66801f5ab5942a8e03f69d24b0ff1a03d3f6792a",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2021-3746",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2021-3746",
    "summary": "A flaw was found in the libtpms code that may cause access beyond the boundary of internal buffers. The vulnerability is triggered by specially-crafted TPM2 command packets that then trigger the issue when the state of the TPM2's volatile state is written. The highest threat from this vulnerability is to system availability. This issue affects libtpms versions before 0.8.5, before 0.7.9 and before 0.6.6.",
    "evidence": "osv:DEBIAN-CVE-2021-3746",
    "products": [
      {
        "name": {
          "value": "libtpms",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.9.1-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "libtpms",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.9.1-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "libtpms",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.9.1-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2021-3746",
      "aliases": [
        "DEBIAN-CVE-2021-3746"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.9.1-1"
                }
              ]
            }
          ],
          "package": {
            "name": "libtpms",
            "purl": "pkg:deb/debian/libtpms?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-3746.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.9.1-1"
                }
              ]
            }
          ],
          "package": {
            "name": "libtpms",
            "purl": "pkg:deb/debian/libtpms?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-3746.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.9.1-1"
                }
              ]
            }
          ],
          "package": {
            "name": "libtpms",
            "purl": "pkg:deb/debian/libtpms?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-3746.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-23T18:03:30.099081995Z",
      "provider": "osv",
      "upstream": [
        "CVE-2021-3746"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2021-3746"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2021-3746",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 421710,
  "published_at": "2021-10-19T15:15:08.003+00:00"
}