Skip to main content

Certificates EUVDEUVD-2026-21506

| CVE-2026-40097 LOW
Improper Validation of Array Index (CWE-129)
2026-04-10 GitHub_M GHSA-9qq8-cgcv-qmc9
3.7
CVSS 3.1 · Vendor: GitHub_M
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Array index validation
Impact

The CVSS vector (AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L) indicates remote, unauthenticated access with high attack complexity and low integrity impact (availability impact only, no confidentiality or integrity breach). The low CVSS base score of 3.7 reflects the limited severity of a denial-of-service panic compared to code execution or data compromise. However, real-world risk is contextual: organizations deploying Step CA with TPM device attestation enabled face genuine availability risk, as an attacker can remotely crash the service without authentication. The high attack complexity requirement and the need to craft a valid ASN.1 structure somewhat mitigate the threat. No public exploit code or active exploitation has been reported. The vulnerability is patch-available with a clear fix version, reducing long-term risk for maintainers. SSVC analysis would classify this as: Exploitation=Unproven, Automatable=Yes (ASN.1 crafting is feasible), Technical Impact=Low (availability only). Organizations without TPM attestation configured have zero risk; those with TPM attestation should prioritize patching to eliminate the denial-of-service vector.

Exploit ScenarioDerived

An attacker crafts a TPM attestation key certificate with a malformed Extended Key Usage extension that decodes to an empty ASN.1 sequence and submits it as part of a device-attest-01 ACME challenge request to a Step CA server that has TPM attestation enabled. When the Step CA server parses the certificate and attempts to validate the EKU OID by accessing the first element of the empty sequence, the Go runtime panics due to the out-of-bounds access, causing the service to crash or restart. No authentication is required, and the attacker can repeat the request to maintain denial of service. While the attack requires careful ASN.1 crafting (accounting for the high attack complexity), the lack of authentication and remote accessibility make it a practical griefing vector for critical infrastructure relying on Step CA for automated certificate lifecycle management.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 10, 2026

Step CA versions 0.24.0 through 0.30.0-rc2 suffer a denial-of-service vulnerability where an attacker can trigger an index out-of-bounds panic by sending a crafted TPM attestation key certificate with an empty Extended Key Usage extension during device-attest-01 ACME challenges. The vulnerability affects only deployments that have explicitly configured TPM device attestation; organizations using Step CA for standard certificate management are unaffected. While the CVSS score is low (3.7), the attack is unauthenticated and remotely triggerable, potentially causing service disruption in vulnerable configurations.

RemediationAI

Vendor-released patch: upgrade to Step CA version 0.30.0 or later, which contains the fix. Organizations unable to upgrade immediately should temporarily disable TPM device attestation in their Step CA configuration to eliminate the attack surface. The upstream fix is documented in commit ffd31ac0a87e03b0224cb8363094bfe602242888 and pull request https://github.com/smallstep/certificates/pull/2569; the patched release is available at https://github.com/smallstep/certificates/releases/tag/v0.30.0. After patching, verify that EKU validation correctly handles both empty and non-empty sequences to prevent regression.

Affected VersionsENISA

certificates 0.24.0, < 0.30.0-rc3

Affected Packages

go github.com/smallstep/certificates fix: 0.30.0
euvd certificates_0_24_0 fix: 0.30.0-rc3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Step CA implements TPM device attestation for the device-attest-01 ACME challenge type, which validates that an attestation key certificate contains the tcg-kp-AIKCertificate Extended Key Usage (EKU) OID. The vulnerability stems from an unsafe array access pattern in the EKU validation logic: when an EKU extension is decoded from its ASN.1 representation, the code assumes the decoded value is a non-empty sequence and directly accesses the first element without bounds checking (CWE-129: Improper Validation of Array Index). A maliciously crafted AK certificate can include an EKU extension that decodes to an empty sequence, causing the Go runtime to panic when the code attempts index [0] on a zero-length slice. This is classified as a buffer overflow variant because it represents unsafe memory/slice access. The vulnerability is restricted to the TPM attestation code path and only manifests when device-attest-01 challenges are configured, limiting its blast radius.

Know when Certificates gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 3.7 LOW
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L

Primary rating from Vendor (GitHub_M) · only source for this CVE.

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

Lifecycle Timeline

2
Patch released
Apr 11, 2026 - 02:30 nvd
Patch available
CVE Published
Apr 10, 2026 - 16:34 nvd
LOW 3.7

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

18
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +18
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy