Skip to main content
EPSS 0.6%top 55%

CVE-2026-33818: CWE-400: Uncontrolled Resource Consumption in Go standard library encoding/asn1

0
High
Published: 08/13/2026 (08/13/2026, 21:58:52 UTC)
Source: CVE Database V5
Vendor/Project: Go standard library
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected software

Go standard library

encoding/asn1

Affected versions
>=0 <1.25.13>=1.26.0-0 <1.26.6>=1.27.0-0 <1.27.0-rc.3
encoding/asn1
pkg:golang/encoding/asn1
Affected versions
>=0 <1.25.13>=1.26.0-0 <1.26.6>=1.27.0-0 <1.27.0-rc.3

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/22/2026, 03:49:13 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses