Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2020-7247

published critical CVSS 3.1 · 9.8

opensmtpd: arbitrary commands execution in smtp_mailaddr in smtp_session.c via crafted SMTP session

Title from Red Hat VEX

Published
29 Jan 2020, 15:53:18 UTC
Updated
21 Oct 2025, 23:35:53 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — n/an/a Affected Not stated mitre
Alpine Linux edge opensmtpd Fixed 6.6.2_p1-r0 Package fix record
Debian buster opensmtpd Advisory build 6.0.3p1-5+deb10u3 DSA-4611-1
Ubuntu bionic opensmtpd Advisory build 6.0.3p1-1ubuntu0.1 USN-4268-1
Alpine Linux v3.11 opensmtpd Fixed 6.6.2p1-r0 Package fix record
Alpine Linux v3.12 opensmtpd Fixed 6.6.2p1-r0 Package fix record
Alpine Linux v3.13 opensmtpd Fixed 6.6.2p1-r0 Package fix record
Alpine Linux v3.14 opensmtpd Fixed 6.6.2p1-r0 Package fix record
Show 12 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Alpine Linux v3.15 opensmtpd Fixed 6.6.2p1-r0 Package fix record
Alpine Linux v3.16 opensmtpd Fixed 6.6.2p1-r0 Package fix record
Alpine Linux v3.17 opensmtpd Fixed 6.6.2p1-r0 Package fix record
Alpine Linux v3.18 opensmtpd Fixed 6.6.2p1-r0 Package fix record
Alpine Linux v3.19 opensmtpd Fixed 6.6.2p1-r0 Package fix record
Alpine Linux v3.20 opensmtpd Fixed 6.6.2p1-r0 Package fix record
Alpine Linux v3.21 opensmtpd Fixed 6.6.2p1-r0 Package fix record
Alpine Linux v3.22 opensmtpd Fixed 6.6.2p1-r0 Package fix record
Alpine Linux v3.23 opensmtpd Fixed 6.6.2p1-r0 Package fix record
Alpine Linux v3.24 opensmtpd Fixed 6.6.2p1-r0 Package fix record
Debian stretch opensmtpd Advisory build 6.0.2p1-2+deb9u2 DSA-4611-1
Ubuntu esm opensmtpd Advisory build 5.4.1p1-1ubuntu0.1~esm1 USN-4875-1

Description

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.

en · mitre · cna

Vendor advisories explicitly linked to this CVE.

19

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
9.8 / 10
Severity
critical
Provider
CISA-ADP · adp
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a n/a n/a (affected) mitre · cna

Weaknesses

2
  • n/a (mitre · cna)
  • CWE-755 CWE-755 Improper Handling of Exceptional Conditions (CISA-ADP · adp)

References

15

Provider assertions

3

mitre · cna

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
cd75a71b3b70a0b155116ea2565fec9dfc2e036207eaad19f24063e24b7255a9
Ingested
23 Sep 2026, 07:51:18 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected