CVE-2026-83742
Last modified
CVE-2026-83742 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. Unsigned integer underflow in wstrncat() in src/port.c in wolfSSL wolfSSH from v1.4.11 through v1.5.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 by sending a crafted SFTP path. wolfSSH_RealPath() in src/ssh.c appends each path component with a remaining-size bound (outSz - curSz) rather than the full destination size, so once the accumulated path reaches half the output buffer the size_t computation n - strlen(s1) - 1 wraps to near SIZE_MAX. EPSS estimates a 0.33% chance of exploitation in the next 30 days.
Description
Unsigned integer underflow in wstrncat() in src/port.c in wolfSSL wolfSSH from v1.4.11 through v1.5.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 by sending a crafted SFTP path. wolfSSH_RealPath() in src/ssh.c appends each path component with a remaining-size bound (outSz - curSz) rather than the full destination size, so once the accumulated path reaches half the output buffer the size_t computation n - strlen(s1) - 1 wraps to near SIZE_MAX. The strncat() call is then effectively unbounded and copies the whole component; when that component exactly fills the remainder of the buffer, its terminating null is written one byte past the end. The caller's own length check keeps the copied data inside the buffer, so the overflow is limited to that single null byte, which may corrupt an adjacent stack value and crash the process. Applications that call the public wolfSSH_RealPath() with an output buffer smaller than the input path are additionally exposed to an unbounded copy, because the word32 expression outSz - segSz in that length check also wraps.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Wolfssh | Wolfssh | >= 1.4.11, < 1.6.0 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-83742?
How severe is CVE-2026-83742?
How do I fix CVE-2026-83742?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-83737Out-of-bounds read in Windows NTFS allows an authorized atta…5.5
- CVE-2026-83738Use after free in Windows Ancillary Function Driver for WinS…7
- CVE-2026-83739Use after free in Windows Bluetooth Service allows an unauth…7.5
- CVE-2026-8374Misuse and misconfiguration in Bluetooth communication in Sw…8.5
- CVE-2026-83740Use after free in Windows Hello allows an authorized attacke…7
- CVE-2026-83741Use after free in Internet Explorer allows an authorized att…7.8
- CVE-2026-83743A weakness has been identified in invoiceninja Invoice Ninja…6.3
- CVE-2026-83744A security vulnerability has been detected in invoiceninja I…4.3
- CVE-2026-83745Memory allocation with excessive size value, Improper handli…8.7
- CVE-2026-83746Absolute path traversal in Skype for Business and Microsoft …8.1
- CVE-2026-83747Out-of-bounds read in Windows Error Reporting allows an auth…5.5
- CVE-2026-83748Heap-based buffer overflow in Windows Error Reporting allows…9.8
Are you affected by CVE-2026-83742?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
