Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-83742

published medium CVSS 4.0 · 5.3

wstrncat() unsigned integer underflow leads to an off-by-one null write in wolfSSH on non-Windows platforms

Published
07 Oct 2026, 02:41:48 UTC
Updated
07 Oct 2026, 11:30:28 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
wolfSSL Inc. — wolfSSH1.4.11 through 1.5.0 (affected · semver); changes: unaffected at 1.6.0 · Other versions: unaffected Version-specific Not stated wolfSSL
Alpine Linux edge wolfssh Fixed 1.6.0-r0 Package fix record
Alpine Linux v3.24 wolfssh Fixed 1.6.0-r0 Package fix record

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.

en · wolfSSL · cna

Vendor advisories explicitly linked to this CVE.

2

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
5.3 / 10
Severity
medium
Provider
wolfSSL · cna
Vector string
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
Scenarios
en: GENERAL

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
wolfSSL Inc. wolfSSH 1.4.11 through 1.5.0 (affected · semver); changes: unaffected at 1.6.0Default: unaffected wolfSSL · cna

Weaknesses

3
  • CWE-191 CWE-191 Integer Underflow (Wrap or Wraparound) (wolfSSL · cna)
  • CWE-121 CWE-121 Stack-based Buffer Overflow (wolfSSL · cna)
  • CWE-193 CWE-193 Off-by-one Error (wolfSSL · cna)

References

4

Provider assertions

2

wolfSSL · cna

wstrncat() unsigned integer underflow leads to an off-by-one null write in wolfSSH on non-Windows platforms

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
336e37cfcdfd39dd724c6e8561c711962feaee38cce8374abb41bd8549909ad2
Ingested
07 Oct 2026, 11:56:50 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected