Skip to content
Heist/ feed
Back to feed
HighFix available

golang-github-google-go-attestation — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2026-12681

Improper Validation of Specified Index, Position, or Offset in Input vulnerability in Google go-attestation. parseEfiSignatureList() does not advance the buffer past vendor bytes before reading entries. For hashSHA256SigGUID lists, this allows attacker-controlled vendor header bytes to be appended to the trusted SHA256 hash list. A crafted TPM event log could inject arbitrary SHA256 hashes into the verifier's trusted measurement database, enabling a remote attestation verifier to accept a compromised boot state. This issue affects go-attestation: through 0.6.0.

Products
golang-github-google-go-attestation
Affected versions
0.5.1-1, 0.5.1-2, 0.6.0-1, 0.6.0-1~bpo13+1
Fixed versions
0.6.1-1
CVEs
CVE-2026-12681
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 12:15 UTC · Revision 2

Source evidence

DEBIAN-CVE-2026-12681

core-osv · Original source

Published 24 Jun 2026, 02:16 UTC

Improper Validation of Specified Index, Position, or Offset in Input vulnerability in Google go-attestation. parseEfiSignatureList() does not advance the buffer past vendor bytes before reading entries. For hashSHA256SigGUID lists, this allows attacker-controlled vendor header bytes to be appended to the trusted SHA256 hash list. A crafted TPM event log could inject arbitrary SHA256 hashes into the verifier's trusted measurement database, enabling a remote attestation verifier to accept a compromised boot state. This issue affects go-attestation: through 0.6.0.

osv:DEBIAN-CVE-2026-12681

golang-github-google-go-attestation

Fixed versions: 0.6.1-1

Complete source record
{
  "id": "f25d4ef9880ca3f53b8561ed6917db4c015bd1c5a3cec983312de6d8e5b2e3fd",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-12681",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2026-12681",
    "summary": "Improper Validation of Specified Index, Position, or Offset in Input vulnerability in Google go-attestation. parseEfiSignatureList() does not advance the buffer past vendor bytes before reading entries. For hashSHA256SigGUID lists, this allows attacker-controlled vendor header bytes to be appended to the trusted SHA256 hash list. A crafted TPM event log could inject arbitrary SHA256 hashes into the verifier's trusted measurement database, enabling a remote attestation verifier to accept a compromised boot state. This issue affects go-attestation: through 0.6.0.",
    "evidence": "osv:DEBIAN-CVE-2026-12681",
    "products": [
      {
        "name": {
          "value": "golang-github-google-go-attestation",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.6.1-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "0.5.1-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.5.1-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.6.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.6.0-1~bpo13+1",
            "evidence": "/affected/0/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2026-12681",
      "aliases": [
        "DEBIAN-CVE-2026-12681"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.6.1-1"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-google-go-attestation",
            "purl": "pkg:deb/debian/golang-github-google-go-attestation?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "versions": [
            "0.5.1-1",
            "0.5.1-2",
            "0.6.0-1",
            "0.6.0-1~bpo13+1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-12681.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-26T11:47:27.916439342Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-12681"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2026-12681"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-12681",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 450725,
  "published_at": "2026-06-24T02:16:28.06+00:00"
}