An out-of-bounds read in dns_validate_dns_response in dns.c was discovered in HAProxy through 1.8.14. Due to a missing check when validating DNS responses, remote attackers might be able read the 16 bytes corresponding to an AAAA record from the non-initialized part of the buffer, possibly accessing anything that was left on the stack, or even past the end of the 8193-byte buffer, depending on the value of accepted_payload_size.
https://usn.ubuntu.com/3858-1/
https://lists.debian.org/debian-lts-announce/2022/05/msg00045.html
https://access.redhat.com/errata/RHSA-2019:1436
https://access.redhat.com/errata/RHBA-2019:0327
https://access.redhat.com/errata/RHBA-2019:0326
http://www.securityfocus.com/bid/106223
http://git.haproxy.org/?p=haproxy.git%3Ba=commit%3Bh=efbbdf72992cd20458259962346044cafd9331c0