# CVE-2026-39827: Invoking memory leak when rejecting channels can lead to DoS in golang.org/x/crypto/ssh

- Severity: Medium 6.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 21% of CVEs (2026-12-01)
- Published: 2026-05-22T02:08:34.000Z
- Modified: 2026-11-23T21:12:29.450Z
- Also known as: GHSA-qpw4-5x99-6vjp, GO-2026-5016
- Related: RHSA-2026:62391, RHSA-2026:66561
- Weaknesses: CWE-401, CWE-924
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Go

## Description

An authenticated SSH client that repeatedly opened channels which were rejected by the server caused unbounded memory growth, eventually crashing the server process and affecting all connected users. Rejected channels are now properly removed from the connection's internal state and released for garbage collection.

(As written by CVE List.)

## Affected

- golang.org/x/crypto/ssh: before 0.52.0
- golang.org/x/crypto (Go): before 0.52.0
- golang crypto: before 0.52.0

## Every score

- CISA-ADP: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://go.dev/issue/35127> (issue-tracking, report, web)
- <https://go.dev/cl/781320> (fix, issue-tracking, web)
- <https://groups.google.com/g/golang-announce/c/a082jnz-LvI> (mailing-list, web)
- <https://pkg.go.dev/vuln/GO-2026-5016> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-39827> (advisory)
- <https://cs.opensource.google/go/x/crypto> (package)

## Sources

- CVE List: [CVE-2026-39827](https://www.cve.org/CVERecord?id=CVE-2026-39827), CVE Terms of Use, modified 2026-05-22
- GitHub Advisory Database: [GHSA-qpw4-5x99-6vjp](https://github.com/advisories/GHSA-qpw4-5x99-6vjp), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2026-5016](https://pkg.go.dev/vuln/GO-2026-5016), CC-BY-4.0, modified 2026-11-23
- NVD: [CVE-2026-39827](https://nvd.nist.gov/vuln/detail/CVE-2026-39827), Public domain, modified 2026-07-23

---

Page: https://cve.day/CVE-2026-39827 · Whole record: https://cve.day/CVE-2026-39827.json · Rebuilt by cve.day 2026-11-25T22:59:22.145Z
