Every CVE Search/ Get API key

CVE-2020-35766

The test suite in libopendkim in OpenDKIM through 2.10.3 allows local users to gain privileges...

7.8 High

The test suite in libopendkim in OpenDKIM through 2.10.3 allows local users to gain privileges via a symlink attack against the /tmp/testkeys file (related to t-testdata.h, t-setup.c, and t-cleanup.c). NOTE: this is applicable to persons who choose to engage in the "A number of self-test programs are included here for unit-testing the library" situation.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

0.52%Up 0.3 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 7.8

The test suite in libopendkim in OpenDKIM through 2.10.3 allows local users to gain privileges via a symlink attack against the /tmp/testkeys file (related to t-testdata.h, t-setup.c, and t-cleanup.c). NOTE: this is applicable to persons who choose to engage in the "A number of self-test programs are included here for unit-testing the library" situation.

Record
CVE-2020-35766
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.0
4.4 MediumAV:L/AC:M/Au:N/C:P/I:P/A:P
Weakness
CWE-59
Updated
2026-11-02
CVE List No score

The test suite in libopendkim in OpenDKIM through 2.10.3 allows local users to gain privileges via a symlink attack against the /tmp/testkeys file (related to t-testdata.h, t-setup.c, and t-cleanup.c). NOTE: this is applicable to persons who choose to engage in the "A number of self-test programs are included here for unit-testing the library" situation.

Record
CVE-2020-35766
Updated
2026-11-02
EUVDEUVD-2020-23422 No score

The test suite in libopendkim in OpenDKIM through 2.10.3 allows local users to gain privileges via a symlink attack against the /tmp/testkeys file (related to t-testdata.h, t-setup.c, and t-cleanup.c). NOTE: this is applicable to persons who choose to engage in the "A number of self-test programs are included here for unit-testing the library" situation.

Record
EUVD-2020-23422
Updated
2026-11-03
GitHub AdvisoriesGHSA-q8qf-8pcx-vfw7 No score

The test suite in libopendkim in OpenDKIM through 2.10.3 allows local users to gain privileges...

The test suite in libopendkim in OpenDKIM through 2.10.3 allows local users to gain privileges via a symlink attack against the /tmp/testkeys file (related to t-testdata.h, t-setup.c, and t-cleanup.c). NOTE: this is applicable to persons who choose to engage in the "A number of self-test programs are included here for unit-testing the library" situation.

Record
GHSA-q8qf-8pcx-vfw7
Weakness
CWE-59
Updated
2026-11-02
OSV 7.8

The test suite in libopendkim in OpenDKIM through 2.10.3 allows local users to gain privileges via a symlink attack against the /tmp/testkeys file (related to t-testdata.h, t-setup.c, and t-cleanup.c). NOTE: this is applicable to persons who choose to engage in the "A number of self-test programs are included here for unit-testing the library" situation.

Record
CVE-2020-35766
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2020-35766 7.8

The test suite in libopendkim in OpenDKIM through 2.10.3 allows local users to gain privileges via a symlink attack against the /tmp/testkeys file (related to t-testdata.h, t-setup.c, and t-cleanup.c). NOTE: this is applicable to persons who choose to engage in the "A number of self-test programs are included here for unit-testing the library" situation.

Record
DEBIAN-CVE-2020-35766
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2020-35766 7.8

The test suite in libopendkim in OpenDKIM through 2.10.3 allows local users to gain privileges via a symlink attack against the /tmp/testkeys file (related to t-testdata.h, t-setup.c, and t-cleanup.c). NOTE: this is applicable to persons who choose to engage in the "A number of self-test programs are included here for unit-testing the library" situation.

Record
UBUNTU-CVE-2020-35766
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
opendkim
Debian:12
All versions, plus listed versions
2.11.0~beta2-82.11.0~beta2-8+deb12u12.11.0~beta2-92.11.0~beta2-9.12.11.0~beta2-9.2
None known
opendkim
Debian:13
All versions, plus listed versions
2.11.0~beta2-9.12.11.0~beta2-9.2
None known
opendkim
Debian:14
All versions, plus listed versions
2.11.0~beta2-9.12.11.0~beta2-9.2
None known
opendkim
Ubuntu:16.04:LTS
All versions, plus listed versions
2.10.3-3build1
None known
opendkim
Ubuntu:18.04:LTS
All versions, plus listed versions
2.11.0~alpha-102.11.0~alpha-112.11.0~alpha-11build1
None known
opendkim
Ubuntu:20.04:LTS
All versions, plus listed versions
2.11.0~alpha-122.11.0~alpha-132.11.0~alpha-142.11.0~beta2-1
None known
opendkim
Ubuntu:22.04:LTS
All versions, plus listed versions
2.11.0~beta2-4build12.11.0~beta2-52.11.0~beta2-6
None known
opendkim
Ubuntu:24.04:LTS
All versions, plus listed versions
2.11.0~beta2-82.11.0~beta2-92.11.0~beta2-9build32.11.0~beta2-9build4
None known
opendkim
Ubuntu:25.10
All versions, plus listed versions
2.11.0~beta2-9.12.11.0~beta2-9.2
None known
opendkim
Ubuntu:26.10
All versions, plus listed versions
2.11.0~beta2-9.2build12.11.0~beta2-9.2build2
None known
opendkim
Ubuntu:26.04:LTS
All versions, plus listed versions
2.11.0~beta2-9.22.11.0~beta2-9.2build1
None known

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2020-35766 is a high vulnerability (CVSS 7.8) in Opendkim, published December 28, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.52%, the 44th percentile. No source names a fixed version.

References

MoveEnter Open