CVE-2026-70368
JSON

6.5medium

Stunnel: stack-based out-of-bounds read/write in stunnel s_vlog via oversized log message

Severity
6.5medium CVSS:3.1 by redhat
Exploit likelihood
0.44% (higher than 40% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat

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".

Affected

Product or packageVersionsReported by
Mobi-Com Polska Sp. z o.o. stunnelfrom 5.68 before 5.80CVE List
stunnelNot specifiedCVE List

Classification

CWE-125

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-70368 changed 2026-11-24CVE Terms of Use
NVDCVE-2026-70368 changed 2026-11-24Public domain