CVE-2026-28810

Predictable DNS Transaction IDs Enable Cache Poisoning in Built-in Resolver

State
Published
Severity
6.3 Medium
Published
Apr 7, 2026
Updated
Jul 24, 2026
Reserved
Mar 3, 2026

Read the record on cve.org

Description

Generation of Predictable Numbers or Identifiers vulnerability in Erlang/OTP kernel (inet_res, inet_db modules) allows DNS Cache Poisoning.

The 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.

inet_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.

This vulnerability is associated with program files lib/kernel/src/inet_db.erl and lib/kernel/src/inet_res.erl.

This 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.

Scores

CVSSScoreVectorSource
4.06.3 MediumCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:NEEF

Weaknesses

  • CWE-340 Generation of Predictable Numbers or Identifiers

Affected Products

ProductVersions
OTPErlang
  • 3.0 and laterAffectedfrom 10.6.2Not affectedfrom 10.2.7.4Not affectedfrom 9.2.4.11Not affected
OTPErlang
  • 17.0 and laterAffectedfrom 28.4.2Not affectedfrom 27.3.4.10Not affectedfrom 26.2.5.19Not affected
  • 07b8f441ca711f9812fad9e9115bab3c3aa92f79 and laterAffectedfrom 36f23c9d2cc54afe83671dd7343596d7972839a5Not affectedfrom dd15e8eb03548c5e55e9915f0e91389ec6bad9fdNot affectedfrom b057a9d995017b1be50d6dc02edd52382f3231b8Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.