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…

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: Fri May 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

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/22/2026, 03:45:08 UTC

Technical Analysis

This vulnerability involves an integer overflow (CWE-190) in the golang.org/x/crypto/ssh package when handling Write calls with data sizes exceeding 4GB. The internal calculation of payload size uses an integer type that overflows, causing the write loop to enter an infinite loop sending empty packets. The problem is addressed by switching the size comparison to use a 64-bit integer type (int64), which can correctly represent large payload sizes and prevent overflow.

Potential Impact

The integer overflow causes the write operation to spin indefinitely without making progress, effectively resulting in a denial of service condition on the SSH channel. There is no indication of code execution or data corruption beyond the denial of service behavior. No known exploits are reported in the wild.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are provided at this time. Users should monitor golang.org/x/crypto project advisories for updates. Until a fix is available, avoid writing data larger than 4GB in a single Write call on SSH channels to prevent triggering the issue.

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: 5/22/2026, 3:29:47 AM

Last enriched: 5/22/2026, 3:45:08 AM

Last updated: 5/23/2026, 1:37:46 PM

Views: 9

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