Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 761945 (CVE-2020-35679, CVE-2020-35680) - <mail-mta/opensmtpd-6.8.0_p2: Multiple vulnerabilities (CVE-2020-{35679,35680})
Summary: <mail-mta/opensmtpd-6.8.0_p2: Multiple vulnerabilities (CVE-2020-{35679,35680})
Alias: CVE-2020-35679, CVE-2020-35680
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
Whiteboard: B3 [glsa+ cve]
Depends on:
Reported: 2020-12-27 17:55 UTC by John Helmert III
Modified: 2021-05-26 08:32 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---
nattka: sanity-check+


Note You need to log in before you can comment on or make changes to this bug.
Description John Helmert III gentoo-dev Security 2020-12-27 17:55:41 UTC
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.

Maintainer, can we stabilize the newer version?
Comment 1 John Helmert III gentoo-dev Security 2020-12-27 18:00:29 UTC
Oops, another.


smtpd/lka_filter.c in OpenSMTPD before 6.8.0p1, in certain configurations, allows remote attackers to cause a denial of service (NULL pointer dereference and daemon crash) via a crafted pattern of client activity, because the filter state machine does not properly maintain the I/O channel between the SMTP engine and the filters layer.
Comment 2 Sam James archtester gentoo-dev Security 2020-12-27 23:56:26 UTC
amd64 done
Comment 3 Sam James archtester gentoo-dev Security 2021-01-04 09:32:12 UTC
x86 done

all arches done
Comment 4 Sam James archtester gentoo-dev Security 2021-01-04 09:33:29 UTC
Please cleanup, thanks!
Comment 5 Larry the Git Cow gentoo-dev 2021-05-25 20:44:28 UTC
The bug has been referenced in the following commit(s):

commit 01f70f00555a35208c1ed6a8bea4991e5a6ebac7
Author:     Thomas Deutschmann <>
AuthorDate: 2021-05-25 20:44:24 +0000
Commit:     Thomas Deutschmann <>
CommitDate: 2021-05-25 20:44:24 +0000

    mail-mta/opensmtpd: security cleanup
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: Thomas Deutschmann <>

 mail-mta/opensmtpd/Manifest                  |  1 -
 mail-mta/opensmtpd/opensmtpd-6.7.1_p1.ebuild | 73 ----------------------------
 2 files changed, 74 deletions(-)
Comment 6 Thomas Deutschmann gentoo-dev Security 2021-05-25 20:45:44 UTC
New GLSA request filed.
Comment 7 GLSAMaker/CVETool Bot gentoo-dev 2021-05-26 08:32:52 UTC
This issue was resolved and addressed in
 GLSA 202105-12 at
by GLSA coordinator Thomas Deutschmann (whissi).