Advisory

GHSA-w879-237q-wc7r

Also known as: CVE-2026-39829, GO-2026-5018

Summary

golang.org/x/crypto: Invoking pathological RSA/DSA parameters may cause DoS

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-06-25 22:18 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

golang.org/x/crypto

Go · All systems

Affected

  • introduced 0, fixed 0.52.0 (semver)

Fixed versions

0.52.0

Fix

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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences