{"id":"CVE-2020-7247","aliases":[],"url":"https://o3.security/vulnerability/CVE-2020-7247","summary":null,"details":"smtp_mailaddr in smtp_session.c in OpenSMTPD 6.6, as used in OpenBSD 6.6 and other products, allows remote attackers to execute arbitrary commands as root via a crafted SMTP session, as demonstrated by shell metacharacters in a MAIL FROM field. This affects the \"uncommented\" default configuration. The issue exists because of an incorrect return value upon failure of input validation.","published":"2020-01-29T16:15:12.897Z","modified":"2026-04-11T13:53:26.287391Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":{"score":0.98972,"percentile":0.99926,"asOf":"2026-08-27"},"cisaKev":{"dateAdded":"2022-03-25","dueDate":"2022-04-15","knownRansomwareCampaignUse":false},"exploitsKnown":21,"affectedPackages":[],"fix":{"url":"https://github.com/openbsd/src/commit/9dcfda045474d8903224d175907bfc29761dcb45","label":"openbsd/src@9dcfda0"},"references":[{"type":"WEB","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-7247"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OPH4QU4DNVHA7ACFXMYFCEP5PSXXPN4E/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/4268-1/"},{"type":"ADVISORY","url":"https://www.debian.org/security/2020/dsa-4611"},{"type":"ADVISORY","url":"https://www.kb.cert.org/vuls/id/390745"},{"type":"ADVISORY","url":"http://packetstormsecurity.com/files/162093/OpenBSD-OpenSMTPD-6.6-Remote-Code-Execution.html"},{"type":"ADVISORY","url":"https://seclists.org/bugtraq/2020/Jan/51"},{"type":"FIX","url":"https://github.com/openbsd/src/commit/9dcfda045474d8903224d175907bfc29761dcb45"},{"type":"FIX","url":"https://www.openbsd.org/security.html"},{"type":"EVIDENCE","url":"http://www.openwall.com/lists/oss-security/2020/01/28/3"},{"type":"EVIDENCE","url":"http://packetstormsecurity.com/files/156145/OpenSMTPD-6.6.2-Remote-Code-Execution.html"},{"type":"EVIDENCE","url":"http://packetstormsecurity.com/files/156249/OpenSMTPD-MAIL-FROM-Remote-Code-Execution.html"},{"type":"EVIDENCE","url":"http://packetstormsecurity.com/files/156295/OpenSMTPD-6.6.1-Local-Privilege-Escalation.html"},{"type":"EVIDENCE","url":"http://packetstormsecurity.com/files/156137/OpenBSD-OpenSMTPD-Privilege-Escalation-Code-Execution.html"},{"type":"EVIDENCE","url":"http://seclists.org/fulldisclosure/2020/Jan/49"}],"provenance":{"sources":["OSV.dev","CISA KEV","FIRST.org (EPSS)"],"lastVerified":"2026-04-11T13:53:26.287391Z"}}