Memory Exhaustion Vulnerability in Go Programming Language
CVE-2025-58185

Currently unrated

Key Information:

Vendor
CVE Published:
29 October 2025

What is CVE-2025-58185?

A vulnerability has been identified in the parsing of maliciously crafted DER payloads within the Go programming language. Exploiting this vulnerability could lead to excessive memory allocation, resulting in memory exhaustion and potentially impacting the performance and stability of applications built with Go.

Affected Version(s)

encoding/asn1 0 < 1.24.8

encoding/asn1 1.25.0 < 1.25.2

References

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Jakub Ciolek
.
CVE-2025-58185 : Memory Exhaustion Vulnerability in Go Programming Language