# CVE-2020-35766: The test suite in libopendkim in OpenDKIM through 2.10.3 allows local users to gain privileges via a symlink attack against the /tmp/testke…

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.52%, higher than 45% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-12-28T19:21:20.000Z
- Modified: 2026-06-17T03:14:15.820Z
- Weaknesses: CWE-59
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- opendkim opendkim: up to 2.10.3

## Every score

- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 4.4 Medium `AV:L/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/trusteddomainproject/OpenDKIM/issues/113> (exploit, patch, third-party-advisory)

## Sources

- CVE List: [CVE-2020-35766](https://www.cve.org/CVERecord?id=CVE-2020-35766), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2020-35766](https://nvd.nist.gov/vuln/detail/CVE-2020-35766), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-35766 · Whole record: https://cve.day/CVE-2020-35766.json · Rebuilt by cve.day 2026-11-25T22:57:56.496Z
