CVE-2025-58185

published 29 Oct 2025 · updated 16 Nov 2026

Parsing DER payload can cause memory exhaustion in encoding/asn1

5.3MediumCVSS 5.3EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 1.24.8 and 1.25.2.

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

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Go standard library<1.24.8, >=1.25.0 <1.25.21.24.8, 1.25.2

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-58185 severity on Zeptric[![CVE-2025-58185](https://zeptric.io/badge/cve/CVE-2025-58185.svg)](https://zeptric.io/cve/CVE-2025-58185)