Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: 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
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-12681
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 15:57 UTC · Revision 1

Source evidence

CVE-2026-12681

core-osv · Original source

Published 24 Jun 2026, 00:49 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:CVE-2026-12681
Complete source record
{
  "id": "2d4f323232e974baa97f3de2ba90ac038063c1fe1980b009c41fbaf9965c3680",
  "url": "https://osv.dev/vulnerability/CVE-2026-12681",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "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:CVE-2026-12681",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-12681",
      "aliases": [
        "CVE-2026-12681",
        "GHSA-9r4w-jg96-92mv",
        "GO-2026-5298"
      ],
      "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/google/go-attestation",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "b6e905e7ae52937f02b5ca494dd1c6a3ac7a1003"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "0.6.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "fixed": "b6e905e7ae52937f02b5ca494dd1c6a3ac7a1003"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "b6e905e7ae52937f02b5ca494dd1c6a3ac7a1003"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v0.6.1"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.6.0",
            "v0.5.1",
            "v0.5.0",
            "v0.4.3",
            "v0.4.2",
            "v0.4.1",
            "v0.4.0",
            "v0.3.2",
            "v0.3.1",
            "v0.3.0",
            "v0.2.2",
            "v0.2.1",
            "v0.2.0",
            "v0.1.3",
            "v0.1.2",
            "v0.1.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-12681.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:36.937803307Z",
      "provider": "osv",
      "references": [
        "https://github.com/google/go-attestation/releases/tag/v0.6.1",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/12xxx/CVE-2026-12681.json",
        "https://github.com/google/go-attestation/security/advisories/GHSA-9r4w-jg96-92mv",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-12681",
        "https://github.com/google/go-attestation/commit/b6e905e7ae52937f02b5ca494dd1c6a3ac7a1003"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-1285"
        ],
        "cna_assigner": "Google",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/12xxx/CVE-2026-12681.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-12681",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 504386,
  "published_at": "2026-06-24T00:49:13.5+00:00"
}