CVE-2025-58188 Details
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.
A panic vulnerability has been identified in the Go programming language's standard library, specifically in the 'crypto/x509' package. This issue arises when validating certificate chains that include DSA public keys. The vulnerability is caused by an interface cast that incorrectly assumes DSA keys implement the 'Equal' method. As a result, programs that validate arbitrary certificate chains can experience a panic, disrupting normal execution.
This vulnerability has been addressed in Go versions 1.25.2 and 1.24.8. Users can download these updated versions from the Go website or compile from source using the GitHub release.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 30, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| http://www.openwall.com/lists/oss-security/2025/10/08/1 | CVE | Mailing ListRelease Notes |
| https://go.dev/cl/709853 | [email protected] | Patch |
| https://go.dev/issue/75675 | [email protected] | Issue Tracking |
| https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI | [email protected] | Mailing ListRelease Notes |
| https://pkg.go.dev/vuln/GO-2025-4013 | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-295 | Improper Certificate Validation | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| golang go | < 1.24.8 >= 1.25.0, < 1.25.2 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 8, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 29, 2026 | Initial Analysis | [email protected] |
| Nov 4, 2025 | CVE Modified | CVE |
| Oct 30, 2025 | CVE Modified | CISA-ADP |
| Oct 29, 2025 | New CVE Received | [email protected] |