{"id":"CVE-2026-28810","aliases":["CVE-2026-28810","EEF-CVE-2026-28810","GHSA-v884-5jg5-whj8"],"related":[],"kind":"vulnerability","state":"published","title":"Predictable DNS Transaction IDs Enable Cache Poisoning in Built-in Resolver","summary":"Generation 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 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Generation 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 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.","source":"cvelist"},{"lang":"en","text":"## 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\n`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.\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 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.\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.","format":"markdown","source":"eef"},{"lang":"es","text":"Vulnerabilidad de generación de números o identificadores predecibles en el kernel de Erlang/OTP (módulos inet_res, inet_db) permite el envenenamiento de caché DNS.\n\nEl resolvedor DNS incorporado (inet_res) utiliza un ID de transacción secuencial, global para el proceso, de 16 bits para consultas UDP y no implementa la aleatorización del puerto de origen. La validación de la respuesta se basa casi por completo en este ID, haciendo que el envenenamiento de caché DNS sea práctico para un atacante que puede observar una consulta o predecir el siguiente ID. Esto entra en conflicto con las recomendaciones de la RFC 5452 para mitigar respuestas DNS falsificadas.\n\ninet_res está diseñado para su uso en entornos de red confiables y con resolvedores recursivos confiables. La documentación anterior no indicaba claramente esta suposición de despliegue, lo que podría llevar a los usuarios a desplegar el resolvedor en entornos donde las respuestas DNS falsificadas son posibles.\n\nEsta vulnerabilidad está asociada con los archivos de programa lib/kernel/src/inet_db.erl y lib/kernel/src/inet_res.erl.\n\nEste problema afecta a OTP desde OTP 17.0 hasta OTP 28.4.2, 27.3.4.10 y 26.2.5.19 correspondiente al kernel desde 3.0 hasta 10.6.2, 10.2.7.4 y 9.2.4.11.","source":"nvd"}],"published":"2026-04-07T07:50:11.072Z","modified":"2026-11-25T06:30:22.631Z","severity":{"scorer":"EEF","scheme":"CVSS:4.0","vector":"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","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"EEF","scheme":"CVSS:4.0","vector":"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","score":6.3,"rating":"MEDIUM"},{"scorer":"Erlang Ecosystem Foundation","scheme":"CVSS:4.0","vector":"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"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","score":3.7,"rating":"LOW"}],"cwes":["CWE-340"],"affected":[{"ranges":[{"type":"otp","introduced":"3.0","fixed":"*","status":"affected"}],"vendor":"Erlang","product":"OTP","package":"kernel","cpe":"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*","repo":"https://github.com/erlang/otp","source":"cvelist"},{"ranges":[{"type":"otp","introduced":"17.0","fixed":"*","status":"affected"}],"vendor":"Erlang","product":"OTP","package":"otp","cpe":"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"git","introduced":"07b8f441ca711f9812fad9e9115bab3c3aa92f79","fixed":"b057a9d995017b1be50d6dc02edd52382f3231b8","status":"affected"}],"vendor":"Erlang","product":"OTP","package":"erlang/otp","cpe":"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*","repo":"https://github.com/erlang/otp","source":"cvelist"},{"ranges":[{"type":"git","introduced":"07b8f441ca711f9812fad9e9115bab3c3aa92f79","status":"affected","fixed":"b057a9d995017b1be50d6dc02edd52382f3231b8"}],"repo":"https://github.com/erlang/otp","source":"eef"},{"ranges":[{"status":"affected","introduced":"17.0","fixed":"26.2.5.19"},{"status":"affected","introduced":"27.0","fixed":"27.3.4.10"},{"status":"affected","introduced":"28.0","fixed":"28.4.2"}],"vendor":"erlang","product":"erlang/otp","cpe":"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/erlang/otp/security/advisories/GHSA-v884-5jg5-whj8","tags":["advisory","related","vendor-advisory"],"sources":["cvelist","eef","nvd"]},{"url":"https://cna.erlef.org/cves/CVE-2026-28810.html","tags":["related","third-party-advisory","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-28810","tags":["related","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://www.erlang.org/doc/system/versions.html#order-of-versions","tags":["release-notes","web","x-version-scheme"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/erlang/otp/commit/07b8f441ca711f9812fad9e9115bab3c3aa92f79","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/erlang/otp/commit/36f23c9d2cc54afe83671dd7343596d7972839a5","tags":["fix","patch"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/erlang/otp/commit/b057a9d995017b1be50d6dc02edd52382f3231b8","tags":["fix","patch"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/erlang/otp/commit/dd15e8eb03548c5e55e9915f0e91389ec6bad9fd","tags":["fix","patch"],"sources":["cvelist","eef","nvd"]}],"credits":["Luigino Camastra / Aisle Research","Raimo Niskanen"],"assigner":"EEF","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-04-07T16:27:52.481Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-28810","url":"https://www.cve.org/CVERecord?id=CVE-2026-28810","licence":"CVE Terms of Use","modified":"2026-11-20T05:57:13.716Z"},{"source":"eef","name":"Erlang Ecosystem Foundation","id":"EEF-CVE-2026-28810","url":"https://osv.dev/vulnerability/EEF-CVE-2026-28810","licence":"CC-BY-4.0","modified":"2026-11-25T06:30:22.631Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-28810","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-28810","licence":"Public domain","modified":"2026-11-20T06:17:23.907Z"}],"updatedAt":"2026-11-25T22:59:18.087Z","epss":{"score":0.00376,"percentile":0.33595,"date":"2026-12-01T12:00:22.000Z"}}