CVE-2026-33818

Enforce maximum recursion depth in encoding/asn1

State
Published
Severity
7.5 High
Published
Aug 13, 2026
Updated
Nov 2, 2026
Reserved
Mar 23, 2026

Read the record on cve.org

Description

Enforce a recursion limit in Unmarshal to prevent stack exhaustion when parsing deeply-nested, recursive structures.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

  • CWE-400 Uncontrolled Resource Consumption

Affected Products

ProductVersions
encoding/asn1Go standard library
  • before 1.25.13Affected
  • 1.26.0-0 to before 1.26.6Affected
  • 1.27.0-0 to before 1.27.0-rc.3Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.