{"id":"CVE-2026-70368","summary":"Stunnel: stack-based out-of-bounds read/write in stunnel s_vlog via oversized log message","details":"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\".","modified":"2026-11-25T19:45:29.717440006Z","published":"2026-08-04T13:52:25.255Z","related":["SUSE-SU-2026:24232-1","SUSE-SU-2026:4617-1","openSUSE-SU-2026:11500-1","openSUSE-SU-2026:22088-1"],"database_specific":{"cna_assigner":"redhat","cwe_ids":["CWE-125"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/70xxx/CVE-2026-70368.json"},"references":[{"type":"WEB","url":"https://access.redhat.com/downloads/content/package-browser/"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-70368"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/70xxx/CVE-2026-70368.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-70368"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2462029"},{"type":"PACKAGE","url":"https://github.com/mtrojnar/stunnel"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mtrojnar/stunnel","events":[{"introduced":"86fdef8fcf07596cdaf333aa318f4d65e0310b4b"},{"fixed":"62ab5ccf33485b81bc4eaf0c76fd5558d2458e08"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"5.68"},{"fixed":"5.80"}]}]}}],"versions":["stunnel-5.79","stunnel-5.78","stunnel-5.77","stunnel-5.76","stunnel-5.75","stunnel-5.74","stunnel-5.73","stunnel-5.72","stunnel-5.71","stunnel-5.70","stunnel-5.69","stunnel-5.68"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-70368.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L"}]}