Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/smallstep/certificates
  4. ›
  5. CVE-2026-40097

CVE-2026-40097: Step CA affected by an index out of bounds panic in TPM attestation EKU validation

April 10, 2026

An attacker can trigger an index out-of-bounds panic in Step CA by sending a crafted attestation key (AK) certificate with an empty Extended Key Usage (EKU) extension during TPM device attestation.

References

  • github.com/advisories/GHSA-9qq8-cgcv-qmc9
  • github.com/smallstep/certificates
  • github.com/smallstep/certificates/commit/ffd31ac0a87e03b0224cb8363094bfe602242888
  • github.com/smallstep/certificates/pull/2569
  • github.com/smallstep/certificates/releases/tag/v0.30.0
  • github.com/smallstep/certificates/security/advisories/GHSA-9qq8-cgcv-qmc9
  • nvd.nist.gov/vuln/detail/CVE-2026-40097

Code Behaviors & Features

Detect and mitigate CVE-2026-40097 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.24.0 before 0.30.0

Fixed versions

  • 0.30.0

Solution

Upgrade to version 0.30.0 or above.

Impact 3.7 LOW

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-129: Improper Validation of Array Index

Source file

go/github.com/smallstep/certificates/CVE-2026-40097.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:20:22 +0000.