Memory Exhaustion via Malicious DER Parsing in OpenSSL
CVE-2025-58185 Published on October 29, 2025
Parsing DER payload can cause memory exhaustion in encoding/asn1
Parsing a maliciously crafted DER payload could allocate large amounts of memory, causing memory exhaustion.
Vulnerability Analysis
CVE-2025-58185 can be exploited with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality and integrity, and a small impact on availability.
Products Associated with CVE-2025-58185
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2025-58185 are published in OpenSSL:
Affected Versions
Go standard library encoding/asn1:- Before 1.24.8 is affected.
- Version 1.25.0 and below 1.25.2 is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.