Uncontrolled Recursion Affecting std/encoding/asn1 package, versions <1.25.13>=1.26.0-0 <1.26.6>=1.27.0-0 <1.27.0-rc.3


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.46% (39th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-STDENCODINGASN1-18858463
  • published16 Aug 2026
  • disclosed13 Aug 2026
  • creditMarwan Atia

Introduced: 13 Aug 2026

NewCVE-2026-33818  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade std/encoding/asn1 to version 1.25.13, 1.26.6, 1.27.0-rc.3 or higher.

Overview

std/encoding/asn1 is a Go standard library package std/encoding/asn1

Affected versions of this package are vulnerable to Uncontrolled Recursion.

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

CVSS Base Scores

version 4.0
version 3.1