CVE-2026-70368 Details
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".
A stack-based out-of-bounds read vulnerability has been identified in stunnel versions through 5.72-8.el10. This vulnerability occurs in the 's_vlog' function when the application processes oversized log messages using 'vsnprintf'. A remote attacker with network access to a stunnel service can send protocol inputs that generate log messages exceeding 1024 bytes. This leads to an out-of-bounds read from the stack, potentially causing a crash. In some cases, the vulnerability could be exploited to overwrite trailing newline characters with null characters.
Until a fixed version is available, avoid exposing stunnel services using server-side IMAP negotiation to untrusted clients. Restrict access to trusted networks and consider disabling the affected protocol mode.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Aug 4, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2026-70368 | [email protected] | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2462029 | [email protected] |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | [email protected] |
Affected Products
No affected product data is available for this CVE.
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 5, 2026 | CVE Modified | [email protected] |
| Aug 6, 2026 | CVE Modified | [email protected] |
| Aug 4, 2026 | CVE Modified | CISA-ADP |
| Aug 4, 2026 | New CVE Received | [email protected] |