{"id":"CVE-2026-70368","aliases":["CVE-2026-70368"],"related":[],"kind":"vulnerability","state":"published","title":"Stunnel: stack-based out-of-bounds read/write in stunnel s_vlog via oversized log message","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\".","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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\".","source":"cvelist"}],"published":"2026-08-04T13:52:25.255Z","modified":"2026-11-24T21:18:36.023Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"custom","introduced":"5.68","fixed":"5.80","status":"affected"}],"vendor":"Mobi-Com Polska Sp. z o.o.","product":"stunnel","repo":"https://github.com/mtrojnar/stunnel","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","package":"stunnel","cpe":"cpe:/o:redhat:enterprise_linux:10","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 6","package":"stunnel","cpe":"cpe:/o:redhat:rhel_els:6","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","package":"stunnel","cpe":"cpe:/o:redhat:rhel_els:7","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"stunnel","cpe":"cpe:/o:redhat:enterprise_linux:8","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"stunnel","cpe":"cpe:/o:redhat:enterprise_linux:9","source":"cvelist"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2026-70368","tags":["vdb-entry","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2462029","tags":["issue-tracking","x-refsource-redhat"],"sources":["cvelist","nvd"]}],"credits":["This issue was discovered by Found by AISLE in partnership with Red Hat."],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-08-04T14:21:17.494Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-70368","url":"https://www.cve.org/CVERecord?id=CVE-2026-70368","licence":"CVE Terms of Use","modified":"2026-11-24T20:31:31.080Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-70368","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-70368","licence":"Public domain","modified":"2026-11-24T21:18:36.023Z"}],"updatedAt":"2026-11-25T22:59:30.951Z","epss":{"score":0.00442,"percentile":0.40166,"date":"2026-12-01T12:00:22.000Z"}}