Skip to content
7.5 High

CVE-2026-33818 Enforce maximum recursion depth in encoding/asn1

Description

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

CVSS 3.1 detail

Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitable remotely over the network, without an account and without any user action; an attacker can seriously compromise confidentiality, integrity or availability.

Attack vector
Network
Attack complexity
Low
Privileges required
None
Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Affected products and versions

Product Affected versions Fixed in
encoding/asn1 1.27 earliest → < 1.27.0-rc.3 1.27.0-rc.3
encoding/asn1 1.26 1.26.0-0 → < 1.26.6 1.26.6
encoding/asn1 1.25 earliest → < 1.25.13 1.25.13

References

Timeline

  1. Published
  2. Last modified
The 2 CVEs of encoding/asn1 →
Track this CVE