Skip to main content
CVE-2025-58188VulnerabilityPublished Updated

CVE-2025-58188: Go standard library crypto/x509 · Uncaught Exception

Affects Go standard library crypto/x509Source CVE Database V5

0

Not known to be exploited · CVSS 7.5 High.

Data as of 26 Oct 2026, 06:26 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 31% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 29 Oct 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.

What to do

Affected software

ProductAffectedFixed in
Gogithub.com/golang/go/src/crypto/x509pkg:golang/github.com/golang/go/src/crypto/x509Other threatsAffected
  • <=1.25.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

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.

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.

References

Community reviews

Loading reviews…