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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | opendkim | No fix yet | — |
| Debian 13 | opendkim | No fix yet | — |
| Debian 12 | opendkim | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | opendkim | No fix yet | — |
| Ubuntu 26.04 LTS | opendkim | No fix yet | — |
| Ubuntu 25.10 | opendkim | No fix yet | — |
| Ubuntu 24.04 LTS | opendkim | No fix yet | — |
| Ubuntu 22.04 LTS | opendkim | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | opendkim | No fix yet | — |
| Ubuntu 18.04 LTS | opendkim | No fix yet | — |
| Ubuntu 16.04 LTS | opendkim | No fix yet | — |