CVE-2020-35679
smtpd/table.c in OpenSMTPD before 6.8.0p1 lacks a certain regfree, which might allow attackers to trigger a "very significant" memory leak via messages to an instance that performs many regex lookups.
What to do
Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | opensmtpd | Fix pending | UBUNTU-CVE-2020-35679 | |
| Ubuntu 26.04 | opensmtpd | Fix pending | UBUNTU-CVE-2020-35679 | |
| Ubuntu 25.10 | opensmtpd | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2020-35679 | |
| Ubuntu 24.04 | opensmtpd | Fix pending | UBUNTU-CVE-2020-35679 | |
| Ubuntu 22.04 | opensmtpd | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | opensmtpd | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2020-35679 | |
| Ubuntu 18.04 | opensmtpd | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | opensmtpd | Not affected vulnerable_code_not_present | ||
| Debian 14 | opensmtpd | Fixed | 6.8.0p2-1 | DEBIAN-CVE-2020-35679 |
| Debian 13 | opensmtpd | Fixed | 6.8.0p2-1 | DEBIAN-CVE-2020-35679 |
| Debian 12 | opensmtpd | Fixed | 6.8.0p2-1 | DEBIAN-CVE-2020-35679 |
| Alpine Linux 3.13 | opensmtpd | Fixed | 6.7.1p1-r1 | ALPINE-CVE-2020-35679 |
| Alpine Linux 3.12 | opensmtpd | Fixed | 6.6.4p1-r2 | ALPINE-CVE-2020-35679 |
| Alpine Linux 3.11 | opensmtpd | Fixed | 6.6.4p1-r1 | ALPINE-CVE-2020-35679 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://security.gentoo.org/glsa/202105-12 (vendor-advisory)
References
- https://poolp.org/posts/2020-12-24/december-2020-opensmtpd-6.8.0p1-released-fixed-several-bugs-proposed-several-diffs-book-is-on-github/
- https://www.mail-archive.com/misc%40opensmtpd.org/msg05188.html
- https://github.com/openbsd/src/commit/79a034b4aed29e965f45a13409268290c9910043
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TYAYXRV2DM5K4RU7RHCDZSA2UF6VCTRC/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5LKTFBQCHGMVPR4IZWHQIYAPM5J3LN3J/
- https://security.gentoo.org/glsa/202105-12
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.