CVE-2026-70368
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 package | Versions | Reported by |
|---|---|---|
| Mobi-Com Polska Sp. z o.o. stunnel | from 5.68 before 5.80 | CVE List |
| stunnel | Not specified | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-70368 changed 2026-11-24 | CVE Terms of Use |
| NVD | CVE-2026-70368 changed 2026-11-24 | Public domain |