Skip to main content
EPSS 0.4%top 71%

CVE-2025-58188: CWE-248: Uncaught Exception in Go standard library crypto/x509

0
High
Published: 10/31/2025 (10/31/2025, 01:08:48 UTC)
Source: CVE Database V5
Vendor/Project: Go standard library
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected software

github.com/golang/go/src/crypto/x509
pkg:golang/github.com/golang/go/src/crypto/x509
Affected versions
<=1.25.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/09/2026, 09:44:15 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses