# CVE-2026-39829: Invoking  pathological RSA/DSA parameters may cause DoS in golang.org/x/crypto/ssh

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.47% (percentile 32, 2026-11-26)
- **CWE:** CWE-347, CWE-1284
- **Aliases:** GHSA-w879-237q-wc7r, GO-2026-5018
- **Published:** 2026-05-22T02:08:34.000Z
- **Modified:** 2026-11-25T10:42:40.832Z

## Who should check

- Projects that depend on Go package golang.org/x/crypto (\< 0.52.0)
- Anyone running golang.org/x/crypto/ssh \< 0.52.0

## Description

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.

## Affected and fixed versions

- Go `golang.org/x/crypto`: affected \< 0.52.0; fixed 0.52.0 (osv)
- golang.org/x/crypto/ssh: \< 0.52.0 (cvelist)

## Mitigation

- Upgrade golang.org/x/crypto to 0.52.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-39829. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-39829.md
Affected: golang.org/x/crypto < 0.52.0
Fixed in: 0.52.0

Steps:
1. Search this machine and project for golang.org/x/crypto (Go), golang.org/x/crypto/ssh: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-39829 being exploited?

There is no confirmed exploitation: CVE-2026-39829 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.47% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-39829?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-39829?

golang.org/x/crypto \< 0.52.0.

### Is there a fix for CVE-2026-39829?

Yes. Fixed in 0.52.0. Upgrade golang.org/x/crypto to 0.52.0 or later.

### How do I check if I'm affected by CVE-2026-39829?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://pkg.go.dev/vuln/GO-2026-5018>
- vendor: <https://access.redhat.com/errata/RHSA-2026:41019>
- vendor: <https://access.redhat.com/errata/RHSA-2026:48151>
- vendor: <https://access.redhat.com/errata/RHSA-2026:36796>
- vendor: <https://access.redhat.com/errata/RHSA-2026:36199>
- vendor: <https://access.redhat.com/errata/RHSA-2026:37072>
- vendor: <https://access.redhat.com/errata/RHSA-2026:35833>
- vendor: <https://access.redhat.com/errata/RHSA-2026:49944>
- vendor: <https://access.redhat.com/errata/RHSA-2026:67450>
- vendor: <https://access.redhat.com/errata/RHSA-2026:29455>
- vendor: <https://access.redhat.com/errata/RHSA-2026:37123>
- vendor: <https://access.redhat.com/errata/RHSA-2026:61314>
- vendor: <https://access.redhat.com/errata/RHSA-2026:36808>
- vendor: <https://access.redhat.com/errata/RHSA-2026:51033>
- vendor: <https://access.redhat.com/errata/RHSA-2026:59467>
- vendor: <https://access.redhat.com/errata/RHSA-2026:66022>
- vendor: <https://access.redhat.com/errata/RHSA-2026:43692>
- vendor: <https://access.redhat.com/errata/RHSA-2026:46903>
- vendor: <https://access.redhat.com/errata/RHSA-2026:57191>
- vendor: <https://access.redhat.com/errata/RHSA-2026:54400>
- vendor: <https://access.redhat.com/errata/RHSA-2026:26546>
- vendor: <https://access.redhat.com/errata/RHSA-2026:36319>
- vendor: <https://access.redhat.com/errata/RHSA-2026:26547>
- vendor: <https://access.redhat.com/errata/RHSA-2026:36625>
- vendor: <https://access.redhat.com/errata/RHSA-2026:36207>
- vendor: <https://access.redhat.com/errata/RHSA-2026:36651>
- vendor: <https://access.redhat.com/errata/RHSA-2026:40945>
- vendor: <https://access.redhat.com/errata/RHSA-2026:40118>
- vendor: <https://access.redhat.com/errata/RHSA-2026:65126>
- vendor: <https://access.redhat.com/errata/RHSA-2026:60520>
- vendor: <https://access.redhat.com/errata/RHSA-2026:36648>
- vendor: <https://access.redhat.com/errata/RHSA-2026:41036>
- vendor: <https://access.redhat.com/errata/RHSA-2026:60454>
- vendor: <https://access.redhat.com/errata/RHSA-2026:60446>
- vendor: <https://access.redhat.com/errata/RHSA-2026:60477>
- vendor: <https://access.redhat.com/errata/RHSA-2026:57801>
- vendor: <https://access.redhat.com/errata/RHSA-2026:57365>
- vendor: <https://access.redhat.com/errata/RHSA-2026:48693>
- vendor: <https://access.redhat.com/errata/RHSA-2026:36820>
- vendor: <https://access.redhat.com/errata/RHSA-2026:52857>
- vendor: <https://access.redhat.com/errata/RHSA-2026:52910>
- vendor: <https://access.redhat.com/errata/RHSA-2026:65964>
- vendor: <https://access.redhat.com/errata/RHSA-2026:37387>
- vendor: <https://access.redhat.com/errata/RHSA-2026:41031>
- vendor: <https://access.redhat.com/errata/RHSA-2026:42146>
- vendor: <https://access.redhat.com/errata/RHSA-2026:43052>
- vendor: <https://access.redhat.com/errata/RHSA-2026:42796>
- vendor: <https://access.redhat.com/errata/RHSA-2026:41066>
- vendor: <https://access.redhat.com/errata/RHSA-2026:40262>
- vendor: <https://access.redhat.com/errata/RHSA-2026:40972>
- vendor: <https://access.redhat.com/errata/RHSA-2026:40974>
- vendor: <https://access.redhat.com/errata/RHSA-2026:40969>
- vendor: <https://access.redhat.com/errata/RHSA-2026:36797>
- vendor: <https://access.redhat.com/errata/RHSA-2026:37271>
- vendor: <https://access.redhat.com/errata/RHSA-2026:37268>
- vendor: <https://access.redhat.com/errata/RHSA-2026:37272>
- vendor: <https://access.redhat.com/errata/RHSA-2026:37278>
- vendor: <https://access.redhat.com/errata/RHSA-2026:37286>
- vendor: <https://access.redhat.com/errata/RHSA-2026:37296>
- vendor: <https://access.redhat.com/errata/RHSA-2026:57194>
- vendor: <https://access.redhat.com/errata/RHSA-2026:59593>
- vendor: <https://access.redhat.com/errata/RHSA-2026:54432>
- vendor: <https://access.redhat.com/errata/RHSA-2026:46885>
- vendor: <https://access.redhat.com/errata/RHSA-2026:47949>
- vendor: <https://access.redhat.com/errata/RHSA-2026:41055>
- vendor: <https://access.redhat.com/errata/RHSA-2026:47735>
- vendor: <https://access.redhat.com/errata/RHSA-2026:59559>
- vendor: <https://access.redhat.com/errata/RHSA-2026:36883>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-39829>
- patch: <https://go.dev/cl/781641>
- patch: <https://go.dev/cl/781661>
- other: <https://go.dev/issue/79565>
- other: <https://groups.google.com/g/golang-announce/c/a082jnz-LvI>
- other: <https://access.redhat.com/security/cve/CVE-2026-39829>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2480681>
- other: <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-39829.json>
- other: <https://access.redhat.com/errata/RHSA-2026:40119>
- other: <https://cs.opensource.google/go/x/crypto>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-39829>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-w879-237q-wc7r> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2026-5018> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-39829> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-39829>
