Skip to content

crypto/x509: panic when validating certificates with DSA public keys (CVE-2025-58188) #75675

@neild

Description

@neild

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.

Thanks to Jakub Ciolek for reporting this issue.

This is CVE-2025-58188 and Go issue https://go.dev/issue/75675.


This is a PRIVATE issue for CVE-2025-58188, tracked in http://b/443718612.

/cc @golang/security and @golang/release

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsFixThe path to resolution is known, but the work has not been done.Securityrelease-blocker

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions