Skip to content
OpenAdvisories

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

Affected products

VendorProductAffectedFixed
Mobi-Com Polska Sp. z o.o. stunnel 5.68 – < 5.80 5.80
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 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 stunnel 3:5.80-1 —
Debian 13 stunnel4 No fix yet —
Debian 12 stunnel4 No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP7 stunnel 5.70-150600.3.6.1 SUSE-SU-2026:4617-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 stunnel 5.74-160000.3.1 SUSE-SU-2026:24232-1
SLES 16.0 stunnel 5.74-160000.3.1 SUSE-SU-2026:24232-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed stunnel 5.80-1.1 openSUSE-SU-2026:11500-1
openSUSE Leap 16.0 stunnel 5.74-160000.3.1 openSUSE-SU-2026:22088-1
ReleasePackageFixed inAdvisory
Alpine v3.24 stunnel 5.82-r0 —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 stunnel No fix yet —

Advisories 4

References