An issue was discovered in Squid 4.0.23 through 4.7. When checking Basic Authentication with HttpHeader::getAuth, Squid uses a global buffer to store the decoded data. Squid does not check that the decoded length isn't greater than the buffer, leading to a heap-based buffer overflow with user controlled data.
https://www.debian.org/security/2019/dsa-4507
https://usn.ubuntu.com/4065-1/
https://seclists.org/bugtraq/2019/Aug/42
https://github.com/squid-cache/squid/commits/v4
https://access.redhat.com/errata/RHSA-2019:2593
http://www.squid-cache.org/Versions/v4/changesets/
http://www.securityfocus.com/bid/109143
http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00056.html
http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00053.html