CVE-2025-58185
JSON

5.3medium

Parsing DER payload can cause memory exhaustion in encoding/asn1

Severity
5.3medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.58% (higher than 49% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Go
Also known as
GO-2025-4011BIT-GOLANG-2025-58185

Description

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

Affected

Product or packageVersionsReported by
encoding/asn1before 1.24.8, from 1.25.0 before 1.25.2CVE List
stdlib (Go)before 1.24.8, from 1.25.0 before 1.25.2Go Vulnerability Database
golang gobefore 1.24.8, from 1.25.0 before 1.25.2NVD
golang (Bitnami)before 1.24.8, from 1.25.0 before 1.25.2Bitnami Vulnerability Database

All scores

CISA-ADP5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Bitnami Vulnerability Databasemedium rating

Classification

CWE-400CWE-770

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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

NVD (es)

Analizar una carga útil DER elaborada maliciosamente podría asignar grandes cantidades de memoria, causando agotamiento de memoria.

References

Related

Sources

SourceRecordLicence
CVE ListCVE-2025-58185 changed 2025-11-04CVE Terms of Use
Go Vulnerability DatabaseGO-2025-4011 changed 2026-05-15CC-BY-4.0
NVDCVE-2025-58185 changed 2026-10-08Public domain
Bitnami Vulnerability DatabaseBIT-GOLANG-2025-58185 changed 2026-09-08Apache-2.0