Back to Security Advisories

OpenDKIM Vulnerabilities — Ubuntu Security Update (USN-9389-1)

USN-9389-1 fixes 2 CVEs in USN-9389-1: OpenDKIM on Ubuntu 22.04 LTS, 20.04 LTS, 18.04 LTS and 16.04 LTS: Several security issues were fixed in OpenDKIM. A standard system update installs the fix.

High 7.8 CVSS
Ubuntu 20.04 Ubuntu 22.04

What this means under a SharedLicense license

If the test suite were run, a local attacker could possibly use this issue to perform a symlink attack and escalate privileges. A remote attacker could possibly use this issue to make a message with a forged sender address appear to have a valid DKIM signature to programs that relied on the Authentication-Results header fields added by OpenDKIM.

Publication date: 2 December 2026

Overview

Several security issues were fixed in OpenDKIM.

Releases


22.04 LTS


20.04 LTS


18.04 LTS


16.04 LTS

Packages

  • opendkim – milter implementation of DomainKeys Identified Mail

Details

It was discovered that the OpenDKIM library test suite used a predictable
temporary file name. If the test suite were run, a local attacker could
possibly use this issue to perform a symlink attack and escalate
privileges. (CVE-2020-35766)

It was discovered that OpenDKIM did not properly remove forged
Authentication-Results header fields from email messages. A remote attacker
could possibly use this issue to make a message with a forged sender
address appear to have a valid DKIM signature to programs that relied on
the Authentication-Results header fields added by OpenDKIM.
(CVE-2022-48521)

Update instructions

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
22.04 LTS jammy opendkim –  2.11.0~beta2-6ubuntu0.1~esm1   Ubuntu Pro Fix available with Ubuntu Pro via ESM Apps. A community fix might become publicly available in the future.
20.04 LTS focal opendkim –  2.11.0~beta2-1ubuntu0.1~esm1   Ubuntu Pro Fix available with Ubuntu Pro via ESM Apps. A community fix might become publicly available in the future.
18.04 LTS bionic opendkim –  2.11.0~alpha-11ubuntu0.1~esm1   Ubuntu Pro Fix available with Ubuntu Pro via ESM Apps. A community fix might become publicly available in the future.
16.04 LTS xenial opendkim –  2.10.3-3ubuntu0.1~esm1

References

Frequently Asked Questions

What does USN-9389-1 fix?
It was discovered that the OpenDKIM library test suite used a predictable temporary file name (CVE-2020-35766); It was discovered that OpenDKIM did not properly remove forged Authentication-Results header fields from email messages (CVE-2022-48521).
Which Ubuntu releases are affected?
The notice lists Ubuntu 22.04 LTS, Ubuntu 20.04 LTS, Ubuntu 18.04 LTS, Ubuntu 16.04 LTS.
How do I apply USN-9389-1?
In general, a standard system update will make all the necessary changes. In practice: run sudo apt update && sudo apt upgrade on the server.
Which packages are updated?
The update ships new builds of opendkim - milter implementation of DomainKeys Identified Mail.

Check your system for vulnerabilities

Select your product and operating system to see the exact fix commands that apply to you.

Check Your System