CVE-2026-70368: Out-of-bounds Read in Mobi-Com Polska Sp. z o.o. stunnel
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".
AI Analysis
Technical Summary
This vulnerability exists in the s_vlog function of stunnel, where handling of oversized log messages via vsnprintf can cause a stack-based out-of-bounds read. When a log message exceeds 1024 bytes, the function reads beyond the stack buffer, potentially causing a crash. In some cases, trailing newline characters may be replaced with null terminators. The flaw can be triggered remotely by an unauthenticated attacker with network access to a stunnel service, notably during IMAP protocol negotiation when 'protocol = imap' is configured. The vulnerability affects stunnel versions up to and including 5.79. While denial-of-service is the primary impact, reliable integrity or code execution impact is considered very difficult and unlikely. The vulnerability is tracked as CWE-125 (Out-of-bounds Read).
Potential Impact
An attacker with network access to a vulnerable stunnel service can cause a denial-of-service by triggering a crash via oversized log messages. The vulnerability does not allow confidentiality compromise but may cause low integrity impact by altering trailing newline characters in logs. Code execution or reliable integrity compromise is considered very difficult and impractical. The primary impact is availability degradation due to service crashes.
Mitigation Recommendations
No official patch or fix is currently confirmed. To mitigate this vulnerability, restrict access to stunnel services to trusted networks only and avoid exposing them to untrusted clients. Monitor vendor advisories for updates on patches or official fixes. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
CVE-2026-70368: Out-of-bounds Read in Mobi-Com Polska Sp. z o.o. stunnel
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 v3.1
Score 6.5medium
Affected software
Mobi-Com Polska Sp. z o.o.
stunnel
Red Hat
Red Hat Enterprise Linux 10
Red Hat
Red Hat Enterprise Linux 6
Red Hat
Red Hat Enterprise Linux 7
Red Hat
Red Hat Enterprise Linux 8
Red Hat
Red Hat Enterprise Linux 9
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability exists in the s_vlog function of stunnel, where handling of oversized log messages via vsnprintf can cause a stack-based out-of-bounds read. When a log message exceeds 1024 bytes, the function reads beyond the stack buffer, potentially causing a crash. In some cases, trailing newline characters may be replaced with null terminators. The flaw can be triggered remotely by an unauthenticated attacker with network access to a stunnel service, notably during IMAP protocol negotiation when 'protocol = imap' is configured. The vulnerability affects stunnel versions up to and including 5.79. While denial-of-service is the primary impact, reliable integrity or code execution impact is considered very difficult and unlikely. The vulnerability is tracked as CWE-125 (Out-of-bounds Read).
Potential Impact
An attacker with network access to a vulnerable stunnel service can cause a denial-of-service by triggering a crash via oversized log messages. The vulnerability does not allow confidentiality compromise but may cause low integrity impact by altering trailing newline characters in logs. Code execution or reliable integrity compromise is considered very difficult and impractical. The primary impact is availability degradation due to service crashes.
Mitigation Recommendations
No official patch or fix is currently confirmed. To mitigate this vulnerability, restrict access to stunnel services to trusted networks only and avoid exposing them to untrusted clients. Monitor vendor advisories for updates on patches or official fixes. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- redhat
- Date Reserved
- 2026-08-04T07:03:23.572Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-70368","vendor":"Red Hat"}]
Threat ID: 6a71f358bf8831d539eaa4e0
Added to database: 08/04/2026, 14:12:40 UTC
Last enriched: 08/11/2026, 17:34:45 UTC
Last updated: 09/18/2026, 22:01:37 UTC
Views: 55
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.