VDB
KO

GO-2026-5972

Enforce maximum recursion depth in encoding/asn1

Quick fix

GO-2026-5972 — stdlib: upgrade to the fixed version with the command below.

go get stdlib@v1.25.13

Details

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

Are you affected?

Enter the version of the package you're using.

Affected packages

Go / stdlib
Introduced in: 0 Fixed in: 1.25.13
Fix go get stdlib@v1.25.13

References