A vulnerability in Python's socket.getaddrinfo() function allowed embedded null bytes in the host and port parameters, causing silent truncation of these values. This issue was present in Python versions prior to 3.16.0 and has been fixed in version 3.16.0.