Medium severity · published Aug 4, 2026
CVE-2026-70368
Stunnel: stack-based out-of-bounds read/write in stunnel s_vlog via oversized log message
6.5
CVSS
0.4%
EPSS
No
On KEV
Description
A stack-based out-of-bounds read vulnerability exists in the "s_vlog" function of stunnel, when handling oversized log messages via "vsnprintf". A remote attacker with network access to a stunnel service can send protocol inputs that trigger a log message longer than 1024 bytes, leading to an out-of-bounds stack read and a potential crash. In certain corner cases, the same vulnerability could be used to replace a series of trailing "\n" characters with "\0".
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
Low
Availability
Low
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 29% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
RH
Red Hat Enterprise Linux 10 · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat Enterprise Linux 8 · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat Enterprise Linux 9 · Red Hat
All versions, or not specified · source: vendor
ST
stunnel · Mobi-Com Polska Sp. z o.o.
5.68 before 5.80 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-70368
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-70368
access.redhat.com
https://access.redhat.com/security/cve/CVE-2026-70368
bugzilla.redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=2462029
More from stunnel
5.4
CVE-2026-70367
Stunnel: ssrf bypass in stunnel socks proxy via ipv4-mapped ipv6 loopback and unspecified addresses allows access to loopback-only services
