Skip to main content

CVE-2026-83742: CWE-191 Integer Underflow (Wrap or Wraparound) in wolfSSL Inc. wolfSSH

0
Medium
VulnerabilityCVE-2026-83742cvecve-2026-83742cwe-191cwe-121cwe-193
Published: 10/07/2026 (10/07/2026, 02:41:48 UTC)
Source: CVE Database V5
Vendor/Project: wolfSSL Inc.
Product: wolfSSH

Description

CVE-2026-83742 is an integer underflow vulnerability in wolfSSL wolfSSH versions 1.4.11 through before 1.6.0 on non-Windows platforms. It occurs in the wstrncat() function in src/port.c, where an authenticated remote attacker can cause a single null byte to be written just past the end of a stack buffer by sending a specially crafted SFTP path. This can corrupt adjacent stack memory and potentially crash the process. The vulnerability arises from incorrect size calculations leading to an unbounded string concatenation. The overflow is limited to one null byte, and no known exploits are reported in the wild.

CVSS v4.0

Score 5.3medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
Low
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/AU:N

Affected software

wolfSSL Inc.

wolfSSH

Affected versions
>=1.4.11 <1.6.0
GitHub Actionsmore threats →cve
wolfSSH
pkg:github/wolfSSH
Affected versions
>=1.4.11 <1.6.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: 10/07/2026, 03:18:45 UTC

Technical Analysis

An unsigned integer underflow in the wstrncat() function within src/port.c of wolfSSL wolfSSH (versions >=1.4.11 <1.6.0) on non-Windows platforms allows an authenticated remote attacker to write one out-of-bounds null byte past the end of a stack buffer. This happens because wolfSSH_RealPath() appends path components using a remaining-size bound (outSz - curSz) rather than the full buffer size. When the accumulated path length reaches about half the output buffer, the size_t calculation (n - strlen(s1) - 1) underflows to a very large value, causing strncat() to copy the entire component unchecked. If the component exactly fills the remainder of the buffer, the terminating null byte is written one byte beyond the buffer boundary. This can corrupt adjacent stack memory and cause a crash. Additionally, if wolfSSH_RealPath() is called with an output buffer smaller than the input path, an unbounded copy can occur due to a similar wraparound in length checks. The vulnerability requires authentication and no known exploits are reported.

Potential Impact

The vulnerability allows an authenticated remote attacker to cause a stack buffer overflow by writing a single null byte beyond the buffer boundary. This can corrupt adjacent stack memory and potentially crash the affected process. There is no indication of code execution or privilege escalation from the available data. The impact is limited to denial of service via process crash or memory corruption.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a patch is available, avoid using vulnerable versions (>=1.4.11 <1.6.0) on non-Windows platforms or restrict authenticated user input to prevent crafted SFTP paths that could trigger the overflow. Monitor vendor communications for official fixes.

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
wolfSSL
Date Reserved
2026-08-31T22:49:43.798Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6ac5b6982cdf04f656075353

Added to database: 10/07/2026, 03:03:52 UTC

Last enriched: 10/07/2026, 03:18:45 UTC

Last updated: 10/07/2026, 03:18:57 UTC

Views: 3

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