CVE-2025-58188: CWE-248: Uncaught Exception in Go standard library crypto/x509
CVE-2025-58188 is a high-severity vulnerability in the Go standard library's crypto/x509 package that causes application crashes during certificate validation. The issue arises when validating certificate chains containing DSA public keys, where an interface cast incorrectly assumes the presence of an Equal method, leading to a panic. This affects Go versions up to and including 1.25.0. No patch or official remediation information is currently available, and no known exploits have been reported in the wild.
AI Analysis
Technical Summary
CVE-2025-58188 is a vulnerability in the Go standard library's crypto/x509 package that triggers an uncaught exception (panic) during certificate chain validation involving DSA public keys. The root cause is an interface cast that assumes the presence of an Equal method, which is not guaranteed, causing the program to crash. This affects Go versions up to 1.25.0. The vulnerability has a CVSS 3.1 base score of 7.5, indicating high severity due to its potential to cause denial of service via application crashes. No patch or official fix information is currently provided by the vendor, and no exploits are known in the wild.
Potential Impact
The vulnerability causes applications using the Go crypto/x509 package to panic and crash when validating certificate chains containing DSA public keys. This results in a denial of service condition for affected applications. There is no indication of confidentiality or integrity impact. No known exploitation has been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, consider avoiding the use of certificate chains containing DSA public keys in affected Go versions or implement application-level recovery from panics during certificate validation.
CVE-2025-58188: CWE-248: Uncaught Exception in Go standard library crypto/x509
Description
CVE-2025-58188 is a high-severity vulnerability in the Go standard library's crypto/x509 package that causes application crashes during certificate validation. The issue arises when validating certificate chains containing DSA public keys, where an interface cast incorrectly assumes the presence of an Equal method, leading to a panic. This affects Go versions up to and including 1.25.0. No patch or official remediation information is currently available, and no known exploits have been reported in the wild.
CVSS v3.1
Score 7.5high
Affected software
pkg:golang/github.com/golang/go/src/crypto/x509Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-58188 is a vulnerability in the Go standard library's crypto/x509 package that triggers an uncaught exception (panic) during certificate chain validation involving DSA public keys. The root cause is an interface cast that assumes the presence of an Equal method, which is not guaranteed, causing the program to crash. This affects Go versions up to 1.25.0. The vulnerability has a CVSS 3.1 base score of 7.5, indicating high severity due to its potential to cause denial of service via application crashes. No patch or official fix information is currently provided by the vendor, and no exploits are known in the wild.
Potential Impact
The vulnerability causes applications using the Go crypto/x509 package to panic and crash when validating certificate chains containing DSA public keys. This results in a denial of service condition for affected applications. There is no indication of confidentiality or integrity impact. No known exploitation has been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, consider avoiding the use of certificate chains containing DSA public keys in affected Go versions or implement application-level recovery from panics during certificate validation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Go
- Date Reserved
- 2025-08-27T14:50:58.692Z
- State
- PUBLISHED
Threat ID: 69029404f29b216d6d5e20c9
Added to database: 10/29/2025, 22:24:04 UTC
Last enriched: 07/09/2026, 09:44:15 UTC
Last updated: 09/10/2026, 19:36:51 UTC
Views: 446
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.