CVEfocus › CVE database › CVE-2026-39834

CVE-2026-39834Invoking infinite loop on large channel writes in golang.org/x/crypto/ssh

CVSS 9.1 CriticalEPSS 0.6% (higher than 45% of CVEs)Published 2026-05-22Updated 2026-05-22Assigner: Go

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.

What to do

Fixed builds are available from Debian, Go, Ubuntu: see the table below for the fixed version per release.

Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

6Fixed
46Fix pending
3Under investigation
2Will not fix
11Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10snapdFix pendingUBUNTU-CVE-2026-39834
Ubuntu 26.04golang-go.cryptoFix pending1:0.47.0-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-39834
Ubuntu 26.04google-guest-agentFixed20250506.01-0ubuntu2.1UBUNTU-CVE-2026-39834
Ubuntu 26.04snapdUnder investigationUBUNTU-CVE-2026-39834
Ubuntu 25.10golang-go.cryptoWill not fix
snapd contains an embedded copy of golang-go.crypto lxd in 18.04 LTS and earlier contains an embedded copy of golang-go.crypto google-guest-agent contains an…
UBUNTU-CVE-2026-39834
Ubuntu 25.10google-guest-agentFixed20250506.01-0ubuntu1.2UBUNTU-CVE-2026-39834
Ubuntu 25.10snapdWill not fix
snapd contains an embedded copy of golang-go.crypto lxd in 18.04 LTS and earlier contains an embedded copy of golang-go.crypto google-guest-agent contains an…
UBUNTU-CVE-2026-39834
Ubuntu 24.04golang-go.cryptoFix pending1:0.19.0-1ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2026-39834
Ubuntu 24.04google-guest-agentFixed20250116.00-0ubuntu1~24.04.4UBUNTU-CVE-2026-39834
Ubuntu 24.04snapdUnder investigationUBUNTU-CVE-2026-39834
Ubuntu 22.04golang-go.cryptoFix pending1:0.0~git20211202.5770296-1ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2026-39834
Ubuntu 22.04google-guest-agentFixed20250116.00-0ubuntu1~22.04.3UBUNTU-CVE-2026-39834
Ubuntu 22.04snapdUnder investigationUBUNTU-CVE-2026-39834
Ubuntu 20.04golang-go.cryptoFix pending1:0.0~git20200221.2aa609c-1ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2026-39834
Ubuntu 20.04google-guest-agentFix pending20250116.00-0ubuntu1~20.04.0+esm3 (Ubuntu Pro)UBUNTU-CVE-2026-39834
Ubuntu 20.04snapdFix pendingUBUNTU-CVE-2026-39834
Ubuntu 18.04golang-go.cryptoFix pending1:0.0~git20170629.0.5ef0053-2ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2026-39834
Ubuntu 18.04google-guest-agentFix pending20241011.01-0ubuntu1~18.04.0+esm3 (Ubuntu Pro)UBUNTU-CVE-2026-39834
Ubuntu 18.04lxdFix pending3.0.3-0ubuntu1~18.04.2+esm3 (Ubuntu Pro)UBUNTU-CVE-2026-39834
Ubuntu 18.04snapdFix pendingUBUNTU-CVE-2026-39834
Ubuntu 16.04golang-go.cryptoFix pending1:0.0~git20151201.0.7b85b09-2ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2026-39834
Ubuntu 16.04google-guest-agentFix pending20240716.00-0ubuntu1~16.04.0+esm3 (Ubuntu Pro)UBUNTU-CVE-2026-39834
Ubuntu 16.04lxdFix pending2.0.11-0ubuntu1~16.04.4+esm3 (Ubuntu Pro)UBUNTU-CVE-2026-39834
Ubuntu 16.04snapdFix pendingUBUNTU-CVE-2026-39834
Debian 14golang-go.cryptoFixed1:0.52.0-1DEBIAN-CVE-2026-39834
Debian 13golang-go.cryptoFix pendingDEBIAN-CVE-2026-39834
Debian 12golang-go.cryptoFix pendingDEBIAN-CVE-2026-39834
Red Hat Enterprise Linux 10buildahNot affected
Red Hat Enterprise Linux 10buildah-testsNot affected
Red Hat Enterprise Linux 10gvisor-tap-vsockFix pending
Affected
Red Hat Enterprise Linux 10gvisor-tap-vsock-gvforwarderFix pending
Affected
Red Hat Enterprise Linux 10podmanFix pending
Affected
Red Hat Enterprise Linux 10podman-dockerFix pending
Affected
Red Hat Enterprise Linux 10podman-remoteFix pending
Affected
Red Hat Enterprise Linux 10podman-testsFix pending
Affected
Red Hat Enterprise Linux 10trustee-kbsFix pending
Affected
Red Hat Enterprise Linux 9buildahNot affected
Red Hat Enterprise Linux 9buildah-testsNot affected
Red Hat Enterprise Linux 9conmonNot affected
Red Hat Enterprise Linux 9gvisor-tap-vsockFix pending
Affected
Red Hat Enterprise Linux 9gvisor-tap-vsock-gvforwarderFix pending
Affected
Red Hat Enterprise Linux 9podmanFix pending
Affected
Red Hat Enterprise Linux 9podman-catatonitFix pending
Affected
Red Hat Enterprise Linux 9podman-dockerFix pending
Affected
Red Hat Enterprise Linux 9podman-gvproxyFix pending
Affected
Red Hat Enterprise Linux 9podman-pluginsFix pending
Affected
Red Hat Enterprise Linux 9podman-remoteFix pending
Affected
Red Hat Enterprise Linux 9podman-testsFix pending
Affected
Red Hat Enterprise Linux 9rhcFix pending
Affected
Red Hat Enterprise Linux 9rhc-develFix pending
Affected
Red Hat Enterprise Linux 8buildahNot affected
Red Hat Enterprise Linux 8buildah-testsNot affected
Red Hat Enterprise Linux 8conmonNot affected
Red Hat Enterprise Linux 8containers-commonNot affected
Red Hat Enterprise Linux 8podmanFix pending
Affected
Red Hat Enterprise Linux 8podman-catatonitFix pending
Affected
Red Hat Enterprise Linux 8podman-dockerFix pending
Affected
Red Hat Enterprise Linux 8podman-gvproxyFix pending
Affected
Red Hat Enterprise Linux 8podman-manpagesFix pending
Affected
Red Hat Enterprise Linux 8podman-pluginsFix pending
Affected
Red Hat Enterprise Linux 8podman-remoteFix pending
Affected
Red Hat Enterprise Linux 8podman-testsFix pending
Affected
Red Hat Enterprise Linux 8rhcFix pending
Affected
Red Hat Enterprise Linux 8skopeoNot affected
Red Hat Enterprise Linux 8skopeo-testsNot affected
Red Hat Enterprise Linux 8toolboxFix pending
Affected
Red Hat Enterprise Linux 8toolbox-testsFix pending
Affected
Go librarygolang.org/x/cryptoFixed0.52.0GO-2026-5020

What the vendor says

As published in the CVE record by Go, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.