High
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-35766
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:12 UTC · Revision 1
Source evidence
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.
osv:CVE-2020-35766
Complete source record
{
"id": "2599e6cc749b4822ba4454b61a3cb9c2324a0873467a6ce0c01c1e66c44a9a61",
"url": "https://osv.dev/vulnerability/CVE-2020-35766",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-35766",
"summary": "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.",
"evidence": "osv:CVE-2020-35766",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2020-35766",
"aliases": [
"CVE-2020-35766"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/trusteddomainproject/opendkim",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "cf1b96054c9d1e395417eda46b6038a1ab7a904f"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:opendkim:opendkim:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "2.10.3"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"rel-opendkim-2-10-3",
"rel-opendkim-2-10-2",
"rel-opendkim-2-10-1",
"rel-opendkim-2-10-0",
"rel-opendkim-2-10-0-Beta2",
"rel-opendkim-2-10-0-Beta1",
"rel-opendkim-2-10-0-Beta0",
"rel-opendkim-2-9-2",
"rel-opendkim-2-9-2-Beta0",
"rel-opendkim-2-9-1",
"rel-opendkim-2-9-1-Beta4",
"rel-opendkim-2-9-1-Beta3",
"rel-opendkim-2-9-1-Beta2",
"rel-opendkim-2-9-1-Beta1",
"rel-opendkim-2-9-1-Beta0",
"rel-opendkim-2-9-0",
"rel-opendkim-2-9-0-Beta2",
"rel-opendkim-2-9-0-Beta1",
"rel-opendkim-2-9-0-Beta0",
"rel-opendkim-2-8-4",
"rel-opendkim-2-8-4-Beta2",
"rel-opendkim-2-8-4-Beta1",
"rel-opendkim-2-8-4-Beta0",
"rel-opendkim-2-8-3",
"rel-opendkim-2-8-2",
"rel-opendkim-2-8-1",
"rel-opendkim-2-8-0",
"rel-opendkim-2-7-4",
"rel-opendkim-2-7-3",
"rel-opendkim-2-7-2",
"rel-opendkim-2-7-1",
"rel-opendkim-2-7-0",
"rel-opendkim-2-6-7",
"rel-opendkim-2-7-0-Beta5",
"rel-opendkim-2-7-0-Beta4",
"rel-opendkim-2-7-0-Beta3",
"rel-opendkim-2-7-0-Beta2",
"rel-opendkim-2-7-0-Beta1",
"rel-opendkim-2-7-0-Beta0",
"rel-opendkim-2-6-6",
"rel-opendkim-2-6-5",
"rel-opendkim-2-6-4",
"rel-opendkim-2-6-3",
"rel-opendkim-2-6-2",
"rel-opendkim-2-6-1",
"rel-opendkim-2-6-0",
"rel-opendkim-2-5-2",
"rel-opendkim-2-5-1",
"rel-opendkim-2-5-0-1",
"rel-opendkim-2-5-0",
"rel-opendkim-2-4-3",
"rel-opendkim-2-4-2",
"rel-opendkim-2-4-1",
"rel-opendkim-2-4-0",
"rel-opendkim-2-3-2",
"rel-opendkim-2-3-1",
"rel-opendkim-2-2-2"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-35766.json"
}
}
],
"modified": "2026-10-20T10:53:22.965542417Z",
"provider": "osv",
"references": [
"https://github.com/trusteddomainproject/OpenDKIM/issues/113"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2020-35766",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 384290,
"published_at": "2020-12-28T20:15:13.26+00:00"
}