Skip to main content
← All vulnerabilities
CVE-2026-70368

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.80
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

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

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • Mobi-Com Polska Sp. z o.o. stunnel

    From 5.68 · fixed in 5.80

  • stunnel

    Version range not reported

  • stunnel

    Version range not reported

  • stunnel

    Version range not reported

  • stunnel

    Version range not reported

  • stunnel

    Version range not reported

References 2

access.redhat.com

bugzilla.redhat.com