GHSA-rm3j-f69w-wqmq
golang.org/x/crypto vulnerable to infinite loop on large channel writes
En bref
- Publiée
- Mise à jour
- CVE
- CVE-2026-39834
- Alias
- GO-2026-5020
- CVSS_V3
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Description
When writing data larger than 4GB in a single Write call on an SSH channel, an integer overflow in the internal payload size calculation caused the write loop to spin indefinitely, sending empty packets without making progress. The size comparison now uses int64 to prevent truncation.
Paquets affectés
| Paquet | Versions |
|---|---|
| Go · golang.org/x/crypto | introduced 0, fixed 0.52.0 |
Références
- https://nvd.nist.gov/vuln/detail/CVE-2026-39834 ADVISORY
- https://cs.opensource.google/go/x/crypto PACKAGE
- https://go.dev/cl/781663 WEB
- https://go.dev/issue/79567 WEB
- https://groups.google.com/g/golang-announce/c/a082jnz-LvI WEB
- https://pkg.go.dev/vuln/GO-2026-5020 WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |