CVE-2025-58188
JSON

7.5high

Panic when validating certificates with DSA public keys in crypto/x509

Severity
7.5high CVSS:3.1 by CISA-ADP
Exploit likelihood
0.40% (higher than 36% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Go
Also known as
GO-2025-4013BIT-GOLANG-2025-58188

Description

Validating certificate chains which contain DSA public keys can cause programs to panic, due to a interface cast that assumes they implement the Equal method. This affects programs which validate arbitrary certificate chains.

Affected

Product or packageVersionsReported by
crypto/x509before 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-ADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Bitnami Vulnerability Databasehigh rating

Classification

CWE-248CWE-295

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

What each source says

CVE List

Validating certificate chains which contain DSA public keys can cause programs to panic, due to a interface cast that assumes they implement the Equal method. This affects programs which validate arbitrary certificate chains.

NVD (es)

La validación de cadenas de certificados que contienen claves públicas DSA puede causar que los programas entren en pánico, debido a una conversión de interfaz que asume que implementan el método Equal. Esto afecta a los programas que validan cadenas de certificados arbitrarias.

References

Related

Sources

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