CVE Catalog

CVE-2026-70368

MediumCVSS 6.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.35%

29th percentile - higher than 29% of all known CVEs

Summary

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".

Risk Assessment

An attacker can crash the stunnel service, causing disruption to protected applications. The ability to modify log data may also affect log integrity.

Recommendation

Upgrade stunnel to the latest patched version and restrict network access to trusted clients only.

Other vulnerabilities in stunnel

Original NVD description (English source)

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".

Vulnerability data from NVD (NIST) · CISA KEV · EPSS