5.3
Medium
CVE-2025-58185 Parsing a maliciously crafted DER payload could allocate large amounts of memory, causing memory exhaustion
Description
Parsing a maliciously crafted DER payload could allocate large amounts of memory, causing memory exhaustion.
Affected products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| encoding/asn1 1.25 | 1.25.0 → < 1.25.2 | 1.25.2 |
| encoding/asn1 1.24 | earliest → < 1.24.8 | 1.24.8 |