Interface Casting Flaw in Certificate Chain Validation for Go Programming Language
CVE-2025-58188

Currently unrated

Key Information:

Vendor
CVE Published:
29 October 2025

What is CVE-2025-58188?

A flaw in the Go programming language can cause programs to panic when validating certificate chains that include DSA public keys. The issue stems from an interface casting assumption that these keys properly implement the Equal method. If such assumptions are not met, it can lead to unexpected behaviors during the validation of arbitrary certificate chains, potentially impacting application stability.

Affected Version(s)

crypto/x509 0 < 1.24.8

crypto/x509 1.25.0 < 1.25.2

References

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Jakub Ciolek
.
CVE-2025-58188 : Interface Casting Flaw in Certificate Chain Validation for Go Programming Language