Advisory

GO-2025-4013

Also known as: BIT-golang-2025-58188, CVE-2025-58188

Summary

Panic when validating certificates with DSA public keys in crypto/x509

Details

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.

Severity

Not rated by the source.

Dates

Published
2025-10-29 21:50 UTC
Modified
2026-08-08 10:26 UTC

Affected packages and fixes

stdlib

Go · All systems

Affected

  • introduced 0, fixed 1.24.8, introduced 1.25.0, fixed 1.25.2 (semver)

Fixed versions

1.24.8, 1.25.2

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences