What’s Vulnerable › Vulnerabilities

CVE-2025-58185: Parsing DER payload can cause memory exhaustion in encoding/asn1

Description

Parsing a maliciously crafted DER payload could allocate large amounts of memory, causing memory exhaustion.

Affected products

How to fix

Upgrade to a fixed version: Go 1.24.8, 1.25.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-58185 or the next vulnerability affects your stack