Skip to content

x/crypto/ssh: pathological RSA/DSA parameters may cause DoS #79565

@thatnealpatel

Description

@thatnealpatel

The RSA and DSA public key parsers did not enforce size
limits on key parameters. A crafted public key with an
excessively large modulus or DSA parameter could cause
several minutes of CPU consumption during signature
verification. This could be triggered by unauthenticated
clients during public key authentication. RSA moduli are
now limited to 8192 bits, and DSA parameters are validated
per FIPS 186-2.

Thanks to NCC Group Cryptography Services, sponsored by Teleport for reporting this issue.

This is CVE-2026-39829 and Go issue https://go.dev/issue/79565.


This was a PRIVATE track issue, tracked in http://b/502994717.

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
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions