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

5.3MEDIUM

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

CVSS V3.1

Score:
5.3
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Jakub Ciolek
.