← Back to search

CVE-2026-70368

6.5 MEDIUM

Published 2026-08-04 · Updated 2026-08-06

AI risk analysis

Summary
The flaw is a stack-based out-of-bounds read vulnerability in stunnel's 's_vlog' function when handling oversized log messages. This can lead to crashes and potentially replace trailing newline characters with null bytes.
Exploitability
Exploitation requires network access to the stunnel service and sending protocol inputs that trigger a log message longer than 1024 bytes, making it moderately difficult.
Blast radius
If exploited, this could result in service disruptions or data corruption, impacting system reliability.
Prioritized remediation
Update stunnel to a patched version immediately.
stack-overflowlog-vulnerabilitycrash

Analysis generated locally by qwen2.5:7b-instruct (no data left the box). AI-assisted — verify against primary sources before acting.

NVD 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 vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L

Weaknesses

CWE-125

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.