# CVE-2025-58188: Panic when validating certificates with DSA public keys in crypto/x509

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 36% of CVEs (2026-12-01)
- Published: 2025-10-29T21:50:08.000Z
- Modified: 2026-10-08T10:10:00.227Z
- Also known as: GO-2025-4013, BIT-GOLANG-2025-58188
- Related: CGA-fmq2-42x2-hvhw
- Weaknesses: CWE-248, CWE-295
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Go

## 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.

(As written by CVE List.)

## Affected

- crypto/x509: before 1.24.8; from 1.25.0 before 1.25.2
- stdlib (Go): before 1.24.8; from 1.25.0 before 1.25.2
- golang go: before 1.24.8; from 1.25.0 before 1.25.2
- golang (Bitnami): before 1.24.8; from 1.25.0 before 1.25.2

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://go.dev/cl/709853> (fix, patch)
- <https://go.dev/issue/75675> (issue-tracking, report)
- <https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI> (discussion, mailing-list, release-notes, web)
- <https://pkg.go.dev/vuln/GO-2025-4013> (advisory, vendor-advisory)
- <http://www.openwall.com/lists/oss-security/2025/10/08/1> (discussion, mailing-list, release-notes)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-58188> (web)

## Sources

- CVE List: [CVE-2025-58188](https://www.cve.org/CVERecord?id=CVE-2025-58188), CVE Terms of Use, modified 2025-11-04
- Go Vulnerability Database: [GO-2025-4013](https://pkg.go.dev/vuln/GO-2025-4013), CC-BY-4.0, modified 2026-08-08
- NVD: [CVE-2025-58188](https://nvd.nist.gov/vuln/detail/CVE-2025-58188), Public domain, modified 2026-10-08
- Bitnami Vulnerability Database: [BIT-GOLANG-2025-58188](https://osv.dev/vulnerability/BIT-GOLANG-2025-58188), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2025-58188 · Whole record: https://cve.day/CVE-2025-58188.json · Rebuilt by cve.day 2026-11-25T22:59:07.018Z
