CVE-2026-40097
published low CVSS 3.1 · 3.7Step CA affected by an index out of bounds panic in TPM attestation EKU validation
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| smallstep | — | certificates>= 0.24.0, < 0.30.0-rc3 | Affected | Not stated | GitHub_M |
Description
Step CA is an online certificate authority for secure, automated certificate management for DevOps. From 0.24.0 to before 0.30.0-rc3, 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. When processing a device-attest-01 ACME challenge using TPM attestation, Step CA validates that the AK certificate contains the tcg-kp-AIKCertificate Extended Key Usage OID. During this validation, the EKU extension value is decoded from its ASN.1 representation and the first element is checked. A crafted certificate could include an EKU extension that decodes to an empty sequence, causing the code to panic when accessing the first element of the empty slice. This vulnerability is only reachable when a device-attest-01 ACME challenge with TPM attestation is configured. Deployments not using TPM device attestation are not affected. This vulnerability is fixed in 0.30.0-rc3.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 3.7 / 10
- Severity
- low
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| smallstep | certificates | >= 0.24.0, < 0.30.0-rc3 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-129 CWE-129: Improper Validation of Array Index
References
4Provider assertions
2GitHub_M · cna
Step CA affected by an index out of bounds panic in TPM attestation EKU validation
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 2bf917e66c0d4b8cc0f71aa52095c46f0bb1a21dc1fb371b9856f407e45e532d
- Ingested
- 23 Sep 2026, 09:13:02 UTC
- Source record
- Official CVE record