{"id":"CVE-2020-35766","aliases":["DEBIAN-CVE-2020-35766","EUVD-2020-23422","GHSA-q8qf-8pcx-vfw7","UBUNTU-CVE-2020-35766"],"status":"published","title":"The test suite in libopendkim in OpenDKIM through 2.10.3 allows local users to gain privileges...","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.","severity":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.00522,"percentile":0.4479,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-59"],"published":"2020-12-28T19:21:20Z","modified":"2026-10-26T12:00:40Z","affected":[{"source":"osv","ecosystem":"Debian:12","package":"opendkim","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.11.0~beta2-8","2.11.0~beta2-8+deb12u1","2.11.0~beta2-9","2.11.0~beta2-9.1","2.11.0~beta2-9.2"]},{"source":"osv","ecosystem":"Debian:13","package":"opendkim","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.11.0~beta2-9.1","2.11.0~beta2-9.2"]},{"source":"osv","ecosystem":"Debian:14","package":"opendkim","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.11.0~beta2-9.1","2.11.0~beta2-9.2"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"opendkim","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.10.3-3build1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"opendkim","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.11.0~alpha-10","2.11.0~alpha-11","2.11.0~alpha-11build1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"opendkim","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.11.0~alpha-12","2.11.0~alpha-13","2.11.0~alpha-14","2.11.0~beta2-1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"opendkim","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.11.0~beta2-4build1","2.11.0~beta2-5","2.11.0~beta2-6"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"opendkim","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.11.0~beta2-8","2.11.0~beta2-9","2.11.0~beta2-9build3","2.11.0~beta2-9build4"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"opendkim","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.11.0~beta2-9.1","2.11.0~beta2-9.2"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"opendkim","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.11.0~beta2-9.2build1","2.11.0~beta2-9.2build2"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"opendkim","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.11.0~beta2-9.2","2.11.0~beta2-9.2build1"]}],"products":[{"vendor":"opendkim","product":"opendkim"}],"references":[{"url":"https://github.com/trusteddomainproject/OpenDKIM/issues/113","tags":["x_refsource_MISC","x_transferred","Exploit","Patch","Third Party Advisory","fix","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35766"},{"url":"https://github.com/advisories/GHSA-q8qf-8pcx-vfw7"},{"url":"https://security-tracker.debian.org/tracker/CVE-2020-35766","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2020-35766","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-35766","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2020-35766","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.","status":"published","published":"2020-12-28T19:21:20Z","modified":"2024-08-04T17:09:15.173Z","updated_at":"2026-11-02T14:35:58.331892Z"}],"euvd":[{"id":"EUVD-2020-23422","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.","status":"published","published":"2020-12-28T19:21:20Z","modified":"2024-08-04T17:09:15Z","updated_at":"2026-11-03T03:07:05.241494Z"}],"ghsa":[{"id":"GHSA-q8qf-8pcx-vfw7","title":"The test suite in libopendkim in OpenDKIM through 2.10.3 allows local users to gain privileges...","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.","status":"published","published":"2022-05-24T17:37:29Z","modified":"2023-01-29T05:05:10Z","cwes":["CWE-59"],"updated_at":"2026-11-02T14:45:43.481618Z"}],"nvd":[{"id":"CVE-2020-35766","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.","status":"published","published":"2020-12-28T20:15:13.26Z","modified":"2026-06-17T03:14:15.82Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":4.4,"vector":"AV:L/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-59"],"updated_at":"2026-11-02T14:06:28.340168Z"}],"osv":[{"id":"CVE-2020-35766","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.","status":"published","published":"2020-12-28T20:15:13.26Z","modified":"2026-10-20T10:53:22.965542417Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:16.612899Z"},{"id":"DEBIAN-CVE-2020-35766","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.","status":"published","published":"2020-12-28T20:15:13.26Z","modified":"2026-10-26T12:00:40.249793707Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:34.019707Z"},{"id":"UBUNTU-CVE-2020-35766","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.","status":"published","published":"2020-12-28T20:15:00Z","modified":"2026-10-17T12:56:55.937816946Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:25.179924Z"}]}}
