Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.5%top 58%

CVE-2026-39834: CWE-190: Integer Overflow or Wraparound in golang.org/x/crypto golang.org/x/crypto/ssh

0
Critical
VulnerabilityCVE-2026-39834cvecve-2026-39834cwe-190
Published: 05/22/2026 (05/22/2026, 02:31:27 UTC)
Source: CVE Database V5
Vendor/Project: golang.org/x/crypto
Product: golang.org/x/crypto/ssh

Description

CVE-2026-39834 is a critical integer overflow vulnerability in the golang.org/x/crypto/ssh package. It occurs when writing data larger than 4GB in a single Write call on an SSH channel, causing an integer overflow in the internal payload size calculation. This overflow results in an infinite loop that sends empty packets without progress, leading to a denial of service condition. The issue stems from using a truncated integer type for size comparison, which has been addressed by switching to int64 to prevent overflow.

CVSS v3.1

Score 9.1critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Affected software

golang.org/x/crypto/ssh
pkg:golang/golang.org/x/crypto/ssh
Affected versions
=0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/08/2026, 13:55:08 UTC

Technical Analysis

This vulnerability in golang.org/x/crypto/ssh arises from an integer overflow when handling Write calls exceeding 4GB. The internal payload size calculation uses a truncated integer type that overflows, causing an infinite loop sending empty packets and resulting in denial of service. The root cause is the use of an insufficient integer size for payload length calculations. The fix involves changing the integer type to int64 to handle larger payload sizes safely.

Potential Impact

An attacker or user writing data larger than 4GB in a single Write call on an SSH channel can trigger an integer overflow that causes the SSH channel to enter an infinite loop sending empty packets. This leads to a denial of service by preventing further progress on the channel. There is no confidentiality or integrity impact reported, but availability is severely affected.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid sending Write calls larger than 4GB on SSH channels using the affected package version. Monitor for vendor updates addressing this integer overflow vulnerability.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Go
Date Reserved
2026-04-07T18:13:03.529Z
Cvss Version
null
State
PUBLISHED
Remediation Level
null

Threat ID: 6a0fcdabe1370fbb487d5023

Added to database: 05/22/2026, 03:29:47 UTC

Last enriched: 07/08/2026, 13:55:08 UTC

Last updated: 07/31/2026, 19:22:58 UTC

Views: 98

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses