CVE catalog

CVE-2020-7247

opensmtpd: CVE-2020-7247

[CVE catalog]

Severity
Medium
Published
Source
[NVD] · [CVE record]
Exploitation
CISA Known Exploited Vulnerabilities
EPSS
98.97% · Oct 25, 2026

smtp_mailaddr in smtp_session.c in OpenSMTPD, as used in OpenBSD and other products, allows remote attackers to execute arbitrary commands as root via a crafted SMTP session.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianopensmtpdsid7.9.0p0-1fixed
Debianopensmtpdforky7.9.0p0-1fixed
Debianopensmtpdtrixie7.6.0p1-1fixed
Debianopensmtpdbookworm6.8.0p2-4fixed
Alpineopensmtpd3.116.6.2p1-r0fixed
Alpineopensmtpd3.126.6.2p1-r0fixed
Alpineopensmtpd3.136.6.2p1-r0fixed
Alpineopensmtpd3.146.6.2p1-r0fixed
Alpineopensmtpd3.156.6.2p1-r0fixed
Alpineopensmtpd3.166.6.2p1-r0fixed
Ubuntuopensmtpdpro5.4.2p1-4vulnerable
Ubuntuopensmtpdpro5.7.3p1-1vulnerable
Ubuntuopensmtpdpro5.7.3p2-1vulnerable
Ubuntuopensmtpdpro5.7.3p2-1ubuntu0.1~esm1vulnerable
Ubuntuopensmtpdpro5.7.3p2-1ubuntu0.1~esm2fixed
Ubuntuopensmtpd18.046.0.2p1-2build1vulnerable
Ubuntuopensmtpd18.046.0.3p1-1vulnerable
Ubuntuopensmtpd18.046.0.3p1-1build1vulnerable
Ubuntuopensmtpd18.046.0.3p1-1ubuntu0.1fixed
Ubuntuopensmtpdpro5.4.2p1-4vulnerable
Ubuntuopensmtpdpro5.7.3p1-1vulnerable
Ubuntuopensmtpdpro5.7.3p2-1vulnerable
Ubuntuopensmtpdpro5.7.3p2-1ubuntu0.1~esm1fixed
Ubuntuopensmtpd18.046.0.2p1-2build1vulnerable
Ubuntuopensmtpd18.046.0.3p1-1vulnerable
Ubuntuopensmtpd18.046.0.3p1-1build1vulnerable
Ubuntuopensmtpd18.046.0.3p1-1ubuntu0.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianopensmtpdsourcesid6.6.2p1-1not yet assignedNot reported[950121]
Debianopensmtpdsourceforky6.6.2p1-1not yet assignedNot reported[950121]
Debianopensmtpdsourcetrixie6.6.2p1-1not yet assignedNot reported[950121]
Debianopensmtpdsourcebookworm6.6.2p1-1not yet assignedNot reported[950121]
Alpineopensmtpdapk3.116.6.2p1-r0Not reportedALPINE-CVE-2020-7247Not reported
Alpineopensmtpdapk3.126.6.2p1-r0Not reportedALPINE-CVE-2020-7247Not reported
Alpineopensmtpdapk3.136.6.2p1-r0Not reportedALPINE-CVE-2020-7247Not reported
Alpineopensmtpdapk3.146.6.2p1-r0Not reportedALPINE-CVE-2020-7247Not reported
Alpineopensmtpdapk3.156.6.2p1-r0Not reportedALPINE-CVE-2020-7247Not reported
Alpineopensmtpdapk3.166.6.2p1-r0Not reportedALPINE-CVE-2020-7247Not reported
Ubuntuopensmtpddebpro5.7.3p2-1ubuntu0.1~esm2Not reportedUSN-4875-1Not reported
Ubuntuopensmtpddeb18.046.0.3p1-1ubuntu0.1Not reportedUSN-4268-1Not reported
Ubuntuopensmtpddebpro5.7.3p2-1ubuntu0.1~esm1Not reportedUBUNTU-CVE-2020-7247Not reported
Ubuntuopensmtpddeb18.046.0.3p1-1ubuntu0.1Not reportedUBUNTU-CVE-2020-7247Not reported

[Debian bug #950121]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [opensmtpd]Fixed
    Details (4)
    • 6.8.0p2-4+b4 · amd64 · bookworm

      Fixed · Fixed: 6.6.2p1-1

      dsa · opensmtpd · debian · bookworm; dsa · opensmtpd · debian · 12

    • 6.8.0p2-4+b4 · arm64 · bookworm

      Fixed · Fixed: 6.6.2p1-1

      dsa · opensmtpd · debian · bookworm; dsa · opensmtpd · debian · 12

    • 7.4.0p1-1~bpo12+1 · amd64 · bookworm-backports

      Fixed · Fixed: 6.6.2p1-1

      dsa · opensmtpd · debian · bookworm; dsa · opensmtpd · debian · 12

    • 7.4.0p1-1~bpo12+1 · arm64 · bookworm-backports

      Fixed · Fixed: 6.6.2p1-1

      dsa · opensmtpd · debian · bookworm; dsa · opensmtpd · debian · 12

[Debian 13 (Trixie)]

  • [opensmtpd]Fixed
    Details (2)
    • 7.6.0p1-1 · amd64 · trixie

      Fixed · Fixed: 6.6.2p1-1

      dsa · opensmtpd · debian · 13

    • 7.6.0p1-1 · arm64 · trixie

      Fixed · Fixed: 6.6.2p1-1

      dsa · opensmtpd · debian · 13

Observed:

References