CVE-2026-70368
Medium 6.5No known exploitationFix availableStunnel: stack-based out-of-bounds read/write in stunnel s_vlog via oversized log message
Record last updated
CVSS score
Medium on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 30% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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".
Weakness: CWE-125
Patching and mitigation
- Patch status
- Fix available (source: CVE record (redhat))
- Fix documented (source date)
- Mitigation
- To mitigate this issue, avoid exposing stunnel services to untrusted clients. Restrict access to these services to trusted networks only.
- Vendor guidance
- No vendor link on record
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Mobi-Com Polska Sp. z o.o. | stunnel | from 5.68 before 5.80 | 5.80 | CVE Program |
| Red Hat | Red Hat Enterprise Linux 10 | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 8 | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 9 | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 6 (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 7 (status unknown) | Not documented | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by redhat
Source: CVE Program (opens in a new tab)
Patch
Fix documented by CVE record (redhat)
Vendor guidance and references
- https://access.redhat.com/security/cve/CVE-2026-70368 (opens in a new tab)vdb-entry, x_refsource_redhat
- RHBZ#2462029 (opens in a new tab)issue-tracking, x_refsource_redhat