CVE-2025-58188

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

Published Oct 29, 2025 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Golang go
Weaknesses CWE-295
CPEs cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
Vendors & Products Golang go
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Golang
Golang crypto
Vendors & Products Golang
Golang crypto
Type Values Removed Values Added
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.
Title Panic when validating certificates with DSA public keys in crypto/x509
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Go
Published
Updated
Nov 4, 2025, 9:13 PM
Reserved
Aug 27, 2025, 2:50 PM
Status
Analyzed
Published
Oct 29, 2025, 11:16 PM
Modified
Oct 8, 2026, 10:10 AM
Severity
Moderate
Public date
Oct 29, 2025, 10:10 PM