Insufficient verification of data authenticity in dnsjava - #VU162707

 

Insufficient verification of data authenticity in dnsjava - #VU162707

Published: November 9, 2026


Vulnerability identifier: #VU162707
CSH Severity: Medium
CVSS v4: 8.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-345
Exploitation vector: Remote access
Exploit availability: No public exploit available

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.


Affected software

dnsjava

Remediation

Install security update from vendor's website.

dnsjava - update to 3.7.0

External References

Related Security Bulletins