CVE-2026-28810: Predictable DNS Transaction IDs Enable Cache Poisoning in Built-in Resolver
Summary
Generation of Predictable Numbers or Identifiers vulnerability in Erlang/OTP kernel (inetres, inetdb modules) allows DNS Cache Poisoning.
The built-in DNS resolver (inetres) uses a sequential, process-global 16-bit transaction ID for UDP queries and does not implement source port randomization. Response validation relies almost entirely on this ID, making DNS cache poisoning practical for an attacker who can observe one query or predict the next ID. This conflicts with RFC 5452 recommendations for mitigating forged DNS answers.
inetres is intended for use in trusted network environments and with trusted recursive resolvers. Earlier documentation did not clearly state this deployment assumption, which could lead users to deploy the resolver in environments where spoofed DNS responses are possible.
This vulnerability is associated with program files lib/kernel/src/inetdb.erl and lib/kernel/src/inetres.erl.
This issue affects OTP from OTP 17.0 before OTP 26.2.5.19, OTP 27.3.4.10, and OTP 28.4.2, corresponding to kernel from 3.0 before 9.2.4.11, 10.2.7.4, and 10.6.2.
Workarounds
Install the Erlang nodes in a trusted network shielded from DNS reply spoofing by firewalls, and configure the inetres resolver to only talk to trusted recursive name servers within that network.
Configurations
The application must use inetres for DNS resolution, either by configuring the lookup method to include dns in the kernel inet configuration, or by calling inetres functions directly. The default Erlang/OTP configuration uses native OS resolution and is not affected.
Other sources
Generation of Predictable Numbers or Identifiers vulnerability in Erlang/OTP kernel (inetres, inetdb modules) allows DNS Cache Poisoning.
The built-in DNS resolver (inetres) uses a sequential, process-global 16-bit transaction ID for UDP queries and does not implement source port randomization. Response validation relies almost entirely on this ID, making DNS cache poisoning practical for an attacker who can observe one query or predict the next ID. This conflicts with RFC 5452 recommendations for mitigating forged DNS answers.
inetres is intended for use in trusted network environments and with trusted recursive resolvers. Earlier documentation did not clearly state this deployment assumption, which could lead users to deploy the resolver in environments where spoofed DNS responses are possible.
This vulnerability is associated with program files lib/kernel/src/inetdb.erl and lib/kernel/src/inetres.erl.
This issue affects OTP from OTP 17.0 before OTP 26.2.5.19, OTP 27.3.4.10, and OTP 28.4.2, corresponding to kernel from 3.0 before 9.2.4.11, 10.2.7.4, and 10.6.2.
— MITRE
Predictable DNS Transaction IDs Enable Cache Poisoning in Built-in Resolver
— Microsoft
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/erlangto a version that resolves this vulnerability.Fixed in 1:24.2.1+dfsg-1ubuntu0.8 - Upgrade
Upgrade
ubuntu/erlangto a version that resolves this vulnerability.Fixed in 1:25.3.2.8+dfsg-1ubuntu4.8 - Upgrade
Upgrade
ubuntu/erlangto a version that resolves this vulnerability.Fixed in 1:27.3.4.6+dfsg-1ubuntu0.2 - Upgrade
Upgrade
debian/erlangto a version that resolves this vulnerability.Fixed in 1:27.3.4.1+dfsg-1+deb13u3 - Upgrade
Upgrade
debian/erlangto a version that resolves this vulnerability.Fixed in 1:27.3.4.10+dfsg-1 - Upgrade
Upgrade
debian/erlangto a version that resolves this vulnerability.Fixed in 1:27.3.4.1+dfsg-1+deb13u3Fixed in 1:27.3.4.10+dfsg-1 - Upgrade
Upgrade
Erlang/OTPto a version that resolves this vulnerability.Fixed in 26.2.5.19 - Upgrade
Upgrade
Erlang/OTPto a version that resolves this vulnerability.Fixed in 27.3.4.10 - Upgrade
Upgrade
Erlang/OTPto a version that resolves this vulnerability.Fixed in 28.4.2 - Configuration
Configure inet_res to communicate only with trusted recursive name servers within the trusted network.
inet_res resolver recursive name servers = trusted recursive name servers within the trusted network - Compensating control
Install Erlang nodes in a trusted network shielded from DNS reply spoofing by firewalls.
Event History
Frequently Asked Questions
What is the severity of CVE-2026-28810?
CVE-2026-28810 has been classified as a medium severity vulnerability.
How do I fix CVE-2026-28810?
To fix CVE-2026-28810, you should upgrade your Erlang/OTP and OTP kernel versions to the latest patched releases.
Which versions are affected by CVE-2026-28810?
CVE-2026-28810 affects Erlang/OTP versions from 17.0 up to 28.4.2 and OTP kernel versions from 3.0 to 10.6.2.
What type of attack is possible with CVE-2026-28810?
CVE-2026-28810 allows attackers to perform DNS cache poisoning due to predictable DNS transaction IDs.
Who is affected by CVE-2026-28810?
Developers and organizations using vulnerable versions of Erlang/OTP and its kernel are at risk from CVE-2026-28810.