Insufficient verification of data authenticity in dnsjava - #VU162707
Published: November 9, 2026
Vulnerability details
The vulnerability allows an attacker controlling a DoH endpoint to poison cached DNS answers for unrelated domains.
The vulnerability exists due to missing response-question validation in dnsjava's non-default DohResolver when used with LookupSession and a configured Cache. An attacker controlling a DoH endpoint can return a response naming another domain, causing its attacker-selected A record to be cached and returned for subsequent lookups without contacting the resolver.