---
cve: "CVE-2020-8794"
severity: "CRITICAL"
cvss: 9.8
epss: "64.2%"
vendor: "Generic Security"
kev: false
exploited: false
published: "2020-02-25 17:15:13"
tags: [cve, security, critical]
source: tsecurity.de CVE-Dossier
exported: "2026-09-10T08:29:55+02:00"
---

# CVE-2020-8794

> 9.8 CRITICAL

## Beschreibung

OpenSMTPD before 6.6.4 allows remote code execution because of an out-of-bounds read in mta_io in mta_session.c for multi-line replies. Although this vulnerability affects the client side of OpenSMTPD, it is possible to attack a server because the server code launches the client code during bounce handling.

## CVSS-Vektor

```
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Keine | bad |
| UI Interaktion | Keine | bad |
| S Scope | Unverändert | good |
| C Vertraulichkeit | Hoch | bad |
| I Integrität | Hoch | bad |
| A Verfügbarkeit | Hoch | bad |

## Exploit-Evidenz

- [EDB-48185 — OpenSMTPD - OOB Read Local Privilege Escalation (Metasploit)](https://www.exploit-db.com/exploits/48185) ✅
- [EDB-48140 — OpenSMTPD < 6.6.3p1 - Local Privilege Escalation + Remote Code Execution](https://www.exploit-db.com/exploits/48140)

## Patch verfügbar (OSV)

- 555d2121736acdd70453b24b94c8c2996d9ab5f9 (Commit)

## Referenzen

- <http://packetstormsecurity.com/files/156633/OpenSMTPD-Out-Of-Bounds-Read-Local-Privilege-Escalation.html>
- <http://seclists.org/fulldisclosure/2020/Feb/32>
- <http://www.openwall.com/lists/oss-security/2020/02/26/1>
- <http://www.openwall.com/lists/oss-security/2020/03/01/1>
- <http://www.openwall.com/lists/oss-security/2020/03/01/2>
- <http://www.openwall.com/lists/oss-security/2021/05/04/7>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OPH4QU4DNVHA7ACFXMYFCEP5PSXXPN4E/>
- <https://usn.ubuntu.com/4294-1/>
- <https://www.debian.org/security/2020/dsa-4634>
- <https://www.openbsd.org/security.html>
- <https://www.openwall.com/lists/oss-security/2020/02/24/5>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2020-8794) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
