CVE-2026-39834

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:golang:crypto:*:*:*:*:*:go:*:*

History

23 Jul 2026, 16:10

Type Values Removed Values Added
Summary
  • (es) Al escribir datos mayores de 4 GB en una sola llamada Write en un canal SSH, un desbordamiento de entero en el cálculo interno del tamaño de la carga útil hizo que el bucle de escritura girara indefinidamente, enviando paquetes vacíos sin avanzar. La comparación de tamaño ahora usa int64 para evitar la truncación.

28 May 2026, 15:03

Type Values Removed Values Added
First Time Golang crypto
Golang
CWE CWE-190
CPE cpe:2.3:a:golang:crypto:*:*:*:*:*:go:*:*
References () https://go.dev/cl/781663 - () https://go.dev/cl/781663 - Issue Tracking
References () https://go.dev/issue/79567 - () https://go.dev/issue/79567 - Issue Tracking
References () https://groups.google.com/g/golang-announce/c/a082jnz-LvI - () https://groups.google.com/g/golang-announce/c/a082jnz-LvI - Mailing List
References () https://pkg.go.dev/vuln/GO-2026-5020 - () https://pkg.go.dev/vuln/GO-2026-5020 - Vendor Advisory

22 May 2026, 19:17

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.1

22 May 2026, 04:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-22 04:16

Updated : 2026-07-23 16:10


NVD link : CVE-2026-39834

Mitre link : CVE-2026-39834

CVE.ORG link : CVE-2026-39834


JSON object : View

Products Affected

golang

  • crypto
CWE
CWE-190

Integer Overflow or Wraparound