dnsjava is an implementation of DNS in Java. Records in DNS replies are not checked for their relevance to the query, allowing an attacker to respond with RRs from different zones. This vulnerability is fixed in 3.6.0.
The product does not sufficiently verify the origin or authenticity of data, in a way that causes it to accept invalid data.