Skip to main content

Go encoding/asn1 EUVDEUVD-2026-58508

| CVE-2026-33818 HIGH
Uncontrolled Resource Consumption (CWE-400)
7.5
CVSS 3.1 · Vendor
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify Go service with exposed ASN.1 parsing surface
  2. Delivery
    Craft deeply-nested recursive ASN.1 SEQUENCE payload
  3. Exploit
    Submit payload to target endpoint
  4. Execution
    encoding/asn1.Unmarshal recurses without depth limit
  5. Persist
    Goroutine stack exhausted
  6. Impact
    Process panics and crashes (DoS)

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires two conditions to hold simultaneously: (1) the target application must be compiled with a vulnerable Go toolchain - any 1.26.x release prior to 1.26.6, or any 1.25.x release prior to 1.25.13 - and (2) the application must invoke encoding/asn1.Unmarshal, or any standard library function that internally calls it (such as x509.ParseCertificate, asn1.Unmarshal via crypto/x509, or user-authored ASN.1 deserialization), on data supplied or influenced by an attacker. The vulnerability is in the parser itself, not in any specific feature flag or non-default configuration; no special server configuration or opt-in setting is required beyond the normal code path being reachable. Exploitation is bounded by whether the attacker can reach the ASN.1 parsing surface: services that parse ASN.1 only from internally-trusted data sources are not at meaningful risk. Authentication is not a limiting factor at the Go standard library level - whether the endpoint requires authentication depends entirely on application logic, not on the vulnerable parsing code.

Impact

The real-world risk is significant for any Go service that exposes ASN.1 parsing to attacker-controlled input. No formal CVSS score or CWE identifier was provided in the available data; the impact assessment is inferred from the description and is consistent with well-understood uncontrolled recursion patterns. The vulnerability is not listed in CISA KEV, and no EPSS score is available, making probabilistic exploitation forecasting impossible from current data. The attack pattern - send a crafted deeply-nested ASN.1 payload to crash the parser - is low-complexity and straightforwardly automatable once a target application is identified. Importantly, Go's encoding/asn1 package underlies a wide range of TLS and PKI tooling, meaning the attack surface is frequently network-exposed without authentication requirements at the protocol parser level. Even a mid-sized municipal IT team in tczew operating Go-based certificate validation or LDAP gateway services should treat this as a prioritized patch, since ASN.1 parsing often sits on a network boundary. The impact is confined to availability (DoS via process crash); there is no credible confidentiality or integrity impact from the described vulnerability. CVSS signals suggest a 7.5 (High) severity, but the absence of a formal vendor score should be noted explicitly.

Exploit ScenarioDerived

An attacker identifies a Go-based service - such as a TLS certificate authority, LDAP client proxy, or custom ASN.1 protocol handler - compiled with a vulnerable Go toolchain and reachable over the network. The attacker crafts an ASN.1 payload consisting of thousands of recursively nested SEQUENCE elements and submits it to the service endpoint. Unmarshal recurses into each nested element without a depth ceiling, rapidly exhausting the goroutine stack and triggering a runtime panic that crashes the process, resulting in a denial of service. No public proof-of-concept code has been identified at time of analysis, but constructing such a payload requires only standard knowledge of DER/BER encoding.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 13, 2026

Stack exhaustion in Go's encoding/asn1 standard library package allows any caller of Unmarshal to crash the Go process by supplying a deeply-nested, recursive ASN.1 structure that exceeds the goroutine stack limit. Applications that parse ASN.1 data from untrusted sources - including TLS certificate validation, PKCS message handling, LDAP clients, SNMP agents, and custom cryptographic protocol implementations - are directly at risk of denial of service. No public exploit code has been identified at time of analysis; vendor-released patches are available in Go 1.26.6 and Go 1.25.13.

RemediationAI

Upgrade to Go 1.26.6 (for applications on the 1.26.x series) or Go 1.25.13 (for applications on the 1.25.x series) by downloading updated toolchains from https://go.dev/dl/ and rebuilding all affected Go binaries; the fix enforces a hard recursion depth limit inside encoding/asn1.Unmarshal as confirmed in Go issue https://go.dev/issue/80405. For deployments where immediate toolchain upgrade and recompilation are not feasible, a partial compensating control is to impose a maximum byte-length check on raw ASN.1 input before it reaches Unmarshal - note, however, that deeply-nested structures can be constructed within modest byte budgets, so size limits alone do not fully neutralize the risk. A stronger compensating measure is to restrict network access to any ASN.1-parsing endpoint to trusted IP ranges, reducing the attacker pool while the patch is staged. Neither workaround is a substitute for rebuilding with Go 1.26.6 or 1.25.13.

Affected VersionsENISA

encoding/asn1 0 <1.25.13
encoding/asn1 1.26.0-0 <1.26.6
encoding/asn1 1.27.0-0 <1.27.0-rc.3

Affected Packages

go stdlib fix: 1.25.13, 1.26.6, 1.27.0-rc.3
euvd encoding_asn1 fix: 1.25.13, 1.26.6, 1.27.0-rc.3

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

ASN.1 (Abstract Syntax Notation One) is a binary encoding format pervasive in cryptographic and network protocols, including X.509 certificates, PKCS standards, TLS, LDAP, and SNMP. Go's standard library encoding/asn1 package provides the Unmarshal function for deserializing ASN.1-encoded byte slices into Go values. The vulnerability is an uncontrolled recursion defect (CWE-674 class): prior to the fix, Unmarshal processed nested ASN.1 SEQUENCE and SET structures via recursive calls with no enforced depth ceiling, allowing a malformed payload with thousands of nested elements to exhaust the goroutine stack and trigger a runtime panic. The fix tracked at https://go.dev/issue/80405 introduces a maximum recursion depth guard inside Unmarshal. Notably, the same Go release batch includes a closely related defect in encoding/xml (CVE-2026-56859) where DecodeElement reset its depth counter, suggesting a systematic review of recursion safety across Go's standard library decoders was performed in this release cycle.

Know when the next one hits your stack

  • 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 (CNA) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

Parser is typically network-reachable with no auth or user interaction required; impact is purely availability loss (process crash), with no confidentiality or integrity consequence.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE HIGH
Red Hat 7.5 HIGH

Primary rating from Vendor (CNA).

CVSS VectorVendor

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

Lifecycle Timeline

3
CVSS changed
Aug 14, 2026 - 16:22 NVD
7.5 (HIGH)
Patch available
Aug 13, 2026 - 23:04 EUVD
CVE Published
Aug 13, 2026 - 20:40 oss-security
CRITICAL

Description PRE-NVD

Disclosed via oss-security. NVD scoring and full description are pending.

Executive ViewAI

Why It Matters

Go applications handling ASN.1 data from external sources-including TLS systems, LDAP clients, and APIs-face critical denial-of-service risk. A maliciously crafted ASN.1 message can exhaust goroutine stack space, crashing dependent services across infrastructure. Organizations running unpatched Go 1.25.x or 1.26.x versions are immediately vulnerable.

Business Impact: Severe
Compensating Controls

Apply vendor patch: upgrade to Go 1.26.6 (for 1.26.x) or Go 1.25.13 (for 1.25.x branches).

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Prevalence
High
Go standard library used across millions of production network services globally
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC Vendor VulDB

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 HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Partial

Priority Score

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

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS Affected
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS Affected
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS Affected
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS Affected
SUSE Linux Enterprise Module for Development Tools 15 SP7 Affected

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