# GHSA-4JWP-XJWM-333G: Missing IPv4-Mapped IPv6 address canonicalization

- Database: GitHub
- Severity: medium (stated by ghsa, no CVSS score)
- Published: 2026-09-03
- Modified: 2026-09-03

## Affected versions

- hickory-recursor (crates.io): all versions
- hickory-resolver (crates.io): fixed in 0.26.2
- hickory-proto (crates.io): fixed in 0.26.2
- hickory-server (crates.io): fixed in 0.26.2

## Description

When checking IP addresses against a resolver's answer address filter, a recursor's do not query filters, or a server's client allow list, IPv4-Mapped-IPv6 addresses were not canonicalized. For the resolver use-case, this could result in addresses not being properly filtered from the response message. For the recursor use case, this could result in connections being made to nameservers that should have been denied. For the server use-case, this could have allowed clients to access the server that should have been denied (if library code was providing IPv6 listen sockets that did not specify `set_only_v6(true)` - the `hickory-dns` binary is **not** affected).

Users of `hickory-proto` 0.26.0 .. 0.26.1 built with the non-default `access-control` feature that relied on the `AccessControlSet` are affected. Users of `hickory-resolver` 0.26.0 .. 0.26.1 configured using `ResolverOpts` that set `deny_answers` are affected. Similarly users of `hickory-resolver` 0.26.0 .. 0.26.1 with the non-default `recursor` feature that set `RecursorOptions` with `deny_answers` or `deny_server` are affected. Users of the (now-defunct) `hickory-recursor` crate 0.25.0-alpha.3 ... 0.26.0-alpha.1 that set `RecursorOptions` with `deny_answers` or `deny_server` are affected. Lastly, library users of `hickory-server` 0.25.0-alpha.1 ... 0.26.1 that use `Server::with_access()` are affected if `register_socket()` is also used with IPv6 sockets that do not specify `set_only_v6(true)`. 

#### Reporter:

Qifan Zhang, Palo Alto Networks

## References

- https://github.com/hickory-dns/hickory-dns/security/advisories/GHSA-4jwp-xjwm-333g

Page: https://cve.now/GHSA-4JWP-XJWM-333G

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
