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

- Severity: Medium 6.5 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.44%, higher than 40% of CVEs (2026-12-01)
- Published: 2026-08-04T13:52:25.255Z
- Modified: 2026-11-24T21:18:36.023Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: redhat

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

(As written by CVE List.)

## Affected

- Mobi-Com Polska Sp. z o.o. stunnel: from 5.68 before 5.80
- stunnel: no versions given

## References

- <https://access.redhat.com/security/cve/CVE-2026-70368> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2462029> (issue-tracking)

## Sources

- CVE List: [CVE-2026-70368](https://www.cve.org/CVERecord?id=CVE-2026-70368), CVE Terms of Use, modified 2026-11-24
- NVD: [CVE-2026-70368](https://nvd.nist.gov/vuln/detail/CVE-2026-70368), Public domain, modified 2026-11-24

---

Page: https://cve.day/CVE-2026-70368 · Whole record: https://cve.day/CVE-2026-70368.json · Rebuilt by cve.day 2026-11-25T22:59:30.951Z
