{"schemaVersion":4,"id":"CVE-2020-8793","aliases":["UBUNTU-CVE-2020-8793","DEBIAN-CVE-2020-8793"],"status":"published","duplicateOf":null,"title":null,"description":"OpenSMTPD before 6.6.4 allows local users to read arbitrary files (e.g., on some Linux distributions) because of a combination of an untrusted search path in makemap.c and race conditions in the offline functionality in smtpd.c.","dates":{"published":"2020-02-25T16:22:02.000Z","modified":"2024-08-04T10:12:10.988Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":4.7,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":4.7,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":2.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":4.7,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":2.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":4.7,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4.7,"severity":"medium","vector":"AV:L/AC:M/Au:N/C:C/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00866,"percentile":0.59924,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.00866},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.009,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.009,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.009,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.009,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.009,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.009,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.009,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.009,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.009,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.009,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.009,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.009,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.009,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.009,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.009,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.009,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.009,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.009,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.009,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.009,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.009,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.009,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.009,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.009,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.009,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.009,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.009,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.009,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.009,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.009,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.009,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.009,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.009,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.009,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.009,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.009,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.009,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.009,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00866,"percentile":0.59924}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00866,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00866,"percentile":0.59924}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_BF6BC6917A9A6165","name":"Exploit Reference (openwall.com)","source":"reference","url":"http://www.openwall.com/lists/oss-security/2020/02/24/4","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"48139","name":"OpenSMTPD 6.6.3 - Arbitrary File Read","source":"exploit-database","url":"https://www.exploit-db.com/exploits/48139","maturity":"poc","reliabilityScore":0.5,"verified":false,"type":"remote","platforms":["linux"],"requiresAuth":null,"exploitdb":{"verified":false,"type":"remote","platform":"linux","file":"exploits/linux/remote/48139.c","codes":["CVE-2020-8793"]},"metasploit":null}],"exploitCount":2,"weaknesses":[{"id":"CWE-367","name":"Time-of-check Time-of-use (TOCTOU) Race Condition","description":"The product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/367.html"},{"id":"CWE-426","name":"Untrusted Search Path","description":"The product searches for critical resources using an externally-supplied search path that can point to resources that are not under the product's direct control.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/426.html"}],"affected":[{"vendor":"canonical","product":"ubuntu_linux","name":"ubuntu linux","label":"ubuntu_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"18.04","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"18.04"}},{"text":"19.10","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"19.10"}}],"versionsText":"18.04 | 19.10","eol":{"isEol":true,"eolDate":"2023-05-31T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"18.04","label":"18.04 'Bionic Beaver' (LTS)","eolFrom":"2023-05-31T00:00:00.000Z","isLts":true,"isMaintained":true,"latestVersion":"18.04.6"},"product":{"name":"ubuntu","label":"Ubuntu","category":"os"}},"hubHref":"/vendor/canonical/ubuntu_linux"},{"vendor":"debian","product":"opensmtpd","name":"opensmtpd","label":"opensmtpd","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/opensmtpd","purlType":"deb","versions":[{"text":"< 6.6.4p1-1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"6.6.4p1-1","endInclusive":false}}],"versionsText":"< 6.6.4p1-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"opensmtpd","name":"opensmtpd","label":"opensmtpd","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/opensmtpd","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}},{"text":"< 5.7.3p2-1ubuntu0.1~esm2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"5.7.3p2-1ubuntu0.1~esm2","endInclusive":false}},{"text":"< 6.0.3p1-1ubuntu0.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"6.0.3p1-1ubuntu0.2","endInclusive":false}},{"text":"< 6.6.4p1-1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"6.6.4p1-1","endInclusive":false}}],"versionsText":"All versions (No fix recorded) | < 5.7.3p2-1ubuntu0.1~esm2 | < 6.0.3p1-1ubuntu0.2 | < 6.6.4p1-1","eol":null,"hubHref":null},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"32","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"32"}}],"versionsText":"32","eol":{"isEol":true,"eolDate":"2021-05-25T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"32","label":"32","eolFrom":"2021-05-25T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"opensmtpd","product":"opensmtpd","name":"opensmtpd","label":"opensmtpd","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 6.6.4","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"6.6.4","endInclusive":false}}],"versionsText":"< 6.6.4","eol":null,"hubHref":"/vendor/opensmtpd/opensmtpd"}],"affectedCount":5,"eol":{"hasEol":true,"count":2},"references":[{"url":"https://www.openbsd.org/security.html","label":"www.openbsd.org/security.html","hostname":"www.openbsd.org","tags":["X Refsource MISC","Third Party Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2020/02/24/4","label":"www.openwall.com/lists/oss-security/2020/02/24/4","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST","Exploit","Third Party Advisory"]},{"url":"http://seclists.org/fulldisclosure/2020/Feb/28","label":"seclists.org/fulldisclosure/2020/Feb/28","hostname":"seclists.org","tags":["Mailing List","X Refsource FULLDISC","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OPH4QU4DNVHA7ACFXMYFCEP5PSXXPN4E/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://usn.ubuntu.com/4294-1/","label":"usn.ubuntu.com/4294-1/","hostname":"usn.ubuntu.com","tags":["Vendor Advisory","X Refsource UBUNTU","Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2020-8793","label":"ubuntu.com/security/CVE-2020-8793","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-4294-1","label":"ubuntu.com/security/notices/USN-4294-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-4875-1","label":"ubuntu.com/security/notices/USN-4875-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-8793","label":"www.cve.org/CVERecord?id=CVE-2020-8793","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2020-8793","label":"security-tracker.debian.org/tracker/CVE-2020-8793","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["USN-4294-1","USN-4875-1"],"duplicates":[],"related":["USN-4294-1","USN-4875-1"]},"timeline":[{"kind":"published","date":"2020-02-25T16:22:02.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-04T10:12:10.988Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 4.7, local access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,1,1,47],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00866,"stale":false,"promoted":null},{"type":"cvss","source":"osv_ubuntu","date":"2024-08-04T10:12:10.988Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},{"type":"cvss","source":"osv_debian","date":"2024-08-04T10:12:10.988Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},{"type":"cvss","source":"nvd","date":"2024-08-04T10:12:10.988Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2024-08-04T10:12:10.988Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":4.7,"vector":"AV:L/AC:M/Au:N/C:C/I:N/A:N","version":"2.0"},{"type":"exploit","source":"exploit-database","date":"2020-02-26T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"maturity":"poc","verified":false},{"type":"exploit","source":"reference","date":null,"status":"valid","statusDate":null,"statusSource":null,"disputes":[],"maturity":"unknown","verified":false}],"epss":{"value":0.00866,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T04:02:19.840Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T04:02:20.356Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T04:02:20.556Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T04:00:57.992Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T04:02:18.199Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T04:02:17.270Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T05:07:15.796Z","stale":false,"partial":false}}