CVE-2026-33818: CWE-400: Uncontrolled Resource Consumption in Go standard library encoding/asn1
Enforce a recursion limit in Unmarshal to prevent stack exhaustion when parsing deeply-nested, recursive structures.
AI Analysis
Technical Summary
This vulnerability (CVE-2026-33818) affects the Go standard library encoding/asn1 package. The Unmarshal function does not enforce a recursion limit, allowing an attacker to craft deeply nested or recursive ASN.1 data structures that cause stack exhaustion and denial of service. The issue is classified under CWE-400 (Uncontrolled Resource Consumption). The vulnerability has a CVSS 3.1 base score of 7.5, indicating high severity, with network attack vector, low attack complexity, no privileges or user interaction required, and impact limited to availability (denial of service).
Potential Impact
An attacker can cause a denial of service by triggering stack exhaustion in applications using the vulnerable versions of the encoding/asn1 package when parsing maliciously crafted ASN.1 data. There is no impact on confidentiality or integrity reported.
Mitigation Recommendations
A fix is available in Go standard library versions 1.25.13, 1.26.6, and 1.27.0-rc.3 and later. Users should upgrade to these or later versions to mitigate the vulnerability. Since this is not a cloud service, remediation depends on applying these updates. No vendor advisory content was provided, so check the official Go release notes for exact patch details.
CVE-2026-33818: CWE-400: Uncontrolled Resource Consumption in Go standard library encoding/asn1
Description
Enforce a recursion limit in Unmarshal to prevent stack exhaustion when parsing deeply-nested, recursive structures.
CVSS v3.1
Score 7.5high
Affected software
Go standard library
encoding/asn1
pkg:golang/encoding/asn1Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability (CVE-2026-33818) affects the Go standard library encoding/asn1 package. The Unmarshal function does not enforce a recursion limit, allowing an attacker to craft deeply nested or recursive ASN.1 data structures that cause stack exhaustion and denial of service. The issue is classified under CWE-400 (Uncontrolled Resource Consumption). The vulnerability has a CVSS 3.1 base score of 7.5, indicating high severity, with network attack vector, low attack complexity, no privileges or user interaction required, and impact limited to availability (denial of service).
Potential Impact
An attacker can cause a denial of service by triggering stack exhaustion in applications using the vulnerable versions of the encoding/asn1 package when parsing maliciously crafted ASN.1 data. There is no impact on confidentiality or integrity reported.
Mitigation Recommendations
A fix is available in Go standard library versions 1.25.13, 1.26.6, and 1.27.0-rc.3 and later. Users should upgrade to these or later versions to mitigate the vulnerability. Since this is not a cloud service, remediation depends on applying these updates. No vendor advisory content was provided, so check the official Go release notes for exact patch details.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Go
- Date Reserved
- 2026-03-23T20:35:32.815Z
- State
- PUBLISHED
Threat ID: 6a7e412ebf8831d539e05113
Added to database: 08/13/2026, 22:11:58 UTC
Last enriched: 09/22/2026, 03:49:13 UTC
Last updated: 09/28/2026, 13:47:44 UTC
Views: 50
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.