BreachSpiderVerified, not vibes

CVE-2020-8794 in Canonical Ubuntu Linux and 3 more products

Critical 9.8 Public exploit reported

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.

Affects 4 products from 4 vendors. Facts below cite their sources.

CVSS 3.19.8
EPSS88.9%
EPSS percentile100th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Canonical Ubuntu Linux 18.04 19.10
Debian Debian Linux 9.0 10.0
Fedoraproject Fedora 31 32
Opensmtpd Opensmtpd < 6.6.4

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitReported · reference

Official description

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2020-8794
BreachSpider IDBS-2020-GLOBAL-328931-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2020-02-25
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-125: Out-of-Bounds Read

Software reads data past the boundary of an allocated buffer, leaking sensitive information or causing crashes.

Related attack patterns (CAPEC)

CAPEC-540 Overread Buffers via CWE-125

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

OpenSMTPD versions prior to 6.6.4 are vulnerable to remote code execution due to an out-of-bounds read in the mta_io function within mta_session.c, specifically affecting multi-line replies. This vulnerability can be exploited by an attacker to execute arbitrary code on the server during bounce handling.

The vulnerability arises from improper bounds checking in the handling of multi-line replies in the mta_io function. An attacker can craft a specially crafted SMTP message that triggers this out-of-bounds read, potentially leading to remote code execution.

Questions

What is CVE-2020-8794?

OpenSMTPD versions prior to 6.6.4 are vulnerable to remote code execution due to an out-of-bounds read in the mta_io function within mta_session.c, specifically affecting multi-line replies. This vulnerability can be exploited by an attacker to execute arbitrary code on the server during bounce handling.

What is the CVSS score for CVE-2020-8794?

CVE-2020-8794 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 88.9%.

Is CVE-2020-8794 actively exploited?

Public exploit available for CVE-2020-8794. Exploitation risk elevated.

How do I remediate CVE-2020-8794?

Priority: IMMEDIATE.

What systems are affected by CVE-2020-8794?

CVE-2020-8794 affects Canonical Ubuntu Linux; Debian Debian Linux; Fedoraproject Fedora; Opensmtpd Opensmtpd.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Canonical","product":"Ubuntu Linux","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.