{"schema_version":"1.9.0","id":"EEF-CVE-2026-28810","published":"2026-04-07T07:50:11.072Z","modified":"2026-09-08T03:45:02.735056201Z","aliases":["CVE-2026-28810","GHSA-v884-5jg5-whj8"],"summary":"Predictable DNS Transaction IDs Enable Cache Poisoning in Built-in Resolver","details":"## Summary\n\nGeneration of Predictable Numbers or Identifiers vulnerability in Erlang/OTP kernel (inet\\_res, inet\\_db modules) allows DNS Cache Poisoning.\n\nThe built-in DNS resolver (inet\\_res) 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.\n\ninet\\_res 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.\n\nThis vulnerability is associated with program files lib/kernel/src/inet\\_db.erl and lib/kernel/src/inet\\_res.erl.\n\nThis issue affects OTP from OTP 17.0 before OTP 28.4.2, OTP 27.3.4.10 and OTP 26.2.5.19, corresponding to kernel from 3.0 before 10.6.2, 10.2.7.4 and 9.2.4.11.\n\n## Workarounds\n\nInstall the Erlang nodes in a trusted network shielded from DNS reply spoofing by firewalls, and configure the inet\\_res resolver to only talk to trusted recursive name servers within that network.\n\n## Configurations\n\nThe application must use inet\\_res for DNS resolution, either by configuring the lookup method to include dns in the kernel inet configuration, or by calling inet\\_res functions directly. The default Erlang/OTP configuration uses native OS resolution and is not affected.","affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/erlang/otp","events":[{"introduced":"07b8f441ca711f9812fad9e9115bab3c3aa92f79"},{"fixed":"36f23c9d2cc54afe83671dd7343596d7972839a5"},{"fixed":"dd15e8eb03548c5e55e9915f0e91389ec6bad9fd"},{"fixed":"b057a9d995017b1be50d6dc02edd52382f3231b8"}]}],"versions":["patch-base-27","OTP-27.3.4","patch-base-26","OTP-26.2.5","OTP-28.4","OTP-27.0","OTP-28.4.1","OTP-28.0","OTP-27.3","OTP-26.2.3","OTP-28.1","OTP-27.3.3","OTP-26.0","OTP-25.0","OTP-28.0-rc4","OTP-27.3.2","OTP-28.0-rc3","OTP-27.2","OTP-28.0-rc2","OTP-27.3.1","OTP-28.0-rc1","OTP-27.1","OTP-26.2","OTP-26.2.4","OTP-27.0-rc3","OTP-27.0-rc2","OTP-27.0-rc1","OTP-24.0","OTP-26.1","OTP-26.0-rc3","OTP-26.0-rc2","OTP-26.0-rc1","OTP-23.0","OTP-21.0","OTP-25.0-rc3","OTP-25.0-rc2","OTP-25.0-rc1","OTP-22.0","OTP-24.0-rc3","OTP-24.0-rc2","OTP-24.0-rc1","OTP-23.0-rc3","OTP-23.0-rc2","OTP-23.0-rc1","OTP-20.0","OTP-22.0-rc3","OTP-22.0-rc2","OTP-22.0-rc1","OTP-19.0","OTP-21.0-rc2","OTP-18.0","OTP-21.0-rc1","OTP-17.0","OTP-20.0-rc2","OTP-20.0-rc1","OTP-19.0-rc2","OTP-19.0-rc1","OTP-18.0-rc1"],"database_specific":{"source":"https://cna.erlef.org/osv/EEF-CVE-2026-28810.json"}}],"references":[{"type":"ADVISORY","url":"https://github.com/erlang/otp/security/advisories/GHSA-v884-5jg5-whj8"},{"type":"WEB","url":"https://cna.erlef.org/cves/CVE-2026-28810.html"},{"type":"WEB","url":"https://www.erlang.org/doc/system/versions.html#order-of-versions"},{"type":"FIX","url":"https://github.com/erlang/otp/commit/36f23c9d2cc54afe83671dd7343596d7972839a5"},{"type":"FIX","url":"https://github.com/erlang/otp/commit/dd15e8eb03548c5e55e9915f0e91389ec6bad9fd"},{"type":"FIX","url":"https://github.com/erlang/otp/commit/b057a9d995017b1be50d6dc02edd52382f3231b8"}],"database_specific":{"capec_ids":["CAPEC-142"],"cpe_ids":["cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"],"cwe_ids":["CWE-340"]},"severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"}],"credits":[{"name":"Luigino Camastra / Aisle Research","type":"FINDER"},{"name":"Raimo Niskanen","type":"REMEDIATION_DEVELOPER"}]}