CVE-2020-35679
publishedopensmtpd: memory leak via messages to an instance that performs many regex lookups due to a missing regfree call
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Alpine Linux | v3.11 | opensmtpd | Fixed | 6.6.4p1-r1 | Package fix record |
| Alpine Linux | v3.12 | opensmtpd | Fixed | 6.6.4p1-r2 | Package fix record |
| Alpine Linux | v3.13 | opensmtpd | Fixed | 6.7.1p1-r1 | Package fix record |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
6- https://github.com/openbsd/src/commit/79a034b4aed29e965f45a13409268290c9910043
- FEDORA-2021-848fd34b0b https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5LKTFBQCHGMVPR4IZWHQIYAPM5J3LN3J/
- FEDORA-2021-71fbdecdf8 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TYAYXRV2DM5K4RU7RHCDZSA2UF6VCTRC/
- https://poolp.org/posts/2020-12-24/december-2020-opensmtpd-6.8.0p1-released-fixed-several-bugs-proposed-several-diffs-book-is-on-github/
- GLSA-202105-12 https://security.gentoo.org/glsa/202105-12
- https://www.mail-archive.com/misc%40opensmtpd.org/msg05188.html
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- c25dcc8f5f7352119c69718814d39be9242533350dfb52e5dbf0b7b901fe8d94
- Ingested
- 23 Sep 2026, 07:50:25 UTC
- Source record
- Official CVE record