Skip to content
Threat Brief

← All advisories

CVE-2026-70368

Medium 6.5No known exploitationFix available

Stunnel: stack-based out-of-bounds read/write in stunnel s_vlog via oversized log message

Record last updated

CVSS score

6.5

Medium on a 0 to 10 scale

EPSS, chance of exploitation in 30 days

0.4%

Higher than 30% of scored CVEs. A prediction, not evidence.

CISA remediation deadline

None

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

VendorProductAffected versionsFixed inPer
Mobi-Com Polska Sp. z o.o.stunnelfrom 5.68 before 5.805.80CVE Program
Red HatRed Hat Enterprise Linux 10Not documentedNot documentedCVE Program
Red HatRed Hat Enterprise Linux 8Not documentedNot documentedCVE Program
Red HatRed Hat Enterprise Linux 9Not documentedNot documentedCVE Program
Red HatRed Hat Enterprise Linux 6 (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat Enterprise Linux 7 (status unknown)Not documentedNot documentedCVE Program

Timeline

  1. Disclosure

    CVE record published by redhat

    Source: CVE Program (opens in a new tab)

  2. Patch

    Fix documented by CVE record (redhat)

    Source: CVE record (redhat) (opens in a new tab)

Vendor guidance and references