CVE-2020-35679 json
smtpd/table.c in OpenSMTPD before 6.8.0p1 lacks a certain regfree, which might allow attackers to trigger a "very significant" memory leak…
published 2020-12-24 5 y ago modified 2026-06-17 4 mo ago also EUVD-2020-23339
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.8%
- EPSS 2.8% chance of exploitation in 30 days, percentile 86%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- opensmtpd opensmtpd 6.8.0
- opensmtpd Debian 14, Debian 13, Debian 12 6.8.0p2-1
debian advisories DEBIAN-CVE-2020-35679
- opensmtpd Alpine 3.11 6.6.4p1-r1
- opensmtpd Alpine 3.12 6.6.4p1-r2
- opensmtpd Alpine 3.13 6.7.1p1-r1
alpine advisories ALPINE-CVE-2020-35679
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- opensmtpd Arch Linux 6.8.0p2-1
arch linux advisories AVG-1381
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-35679 updated cvss 7.5
opensmtpd: memory leak via messages to an instance that performs many regex lookups due to a missing regfree call
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.79% chance of exploitation in the next 30 days, higher than 86% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-401 Missing Release of Memory after Effective Lifetime
References
-
github.com
/openbsd/src/commit/79a034b4aed29e965f45a13409268290c9910043
patch, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/TYAYXRV2DM5K4RU7RHCDZSA2UF6VCTRC/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/5LKTFBQCHGMVPR4IZWHQIYAPM5J3LN3J/
vendor-advisory
-
security.gentoo.org
/glsa/202105-12
vendor-advisory, third-party-advisory
-
poolp.org
/posts/2020-12-24/december-2020-opensmtpd-6.8.0p1-released-fixed-several-bugs-proposed-several-diffs-book-is-o
third-party-advisory
- mail-archive.com /misc%40opensmtpd.org/msg05188.html
Sources
- CVE List CVE-2020-35679
- NVD CVE-2020-35679
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.