Skip to main content
← All vulnerabilities
CVE-2026-39834GO-2026-5020GHSA-RM3J-F69W-WQMQ

Invoking infinite loop on large channel writes in golang.org/x/crypto/ssh

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.52.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • golang.org/x/crypto/ssh

    fixed in 0.52.0

  • golang.org/x/cryptoGo

    fixed in 0.52.0

References 4

go.dev

groups.google.com

pkg.go.dev