CYBERSECURITYTRACKER
Permanent story citation

CPython [CVE-2026-116566] socket.getaddrinfo() accepts embedded null bytes in host and port

This page keeps the story as Cybersecurity Tracker first published it. If the tracker later corrects it, the correction appears below the original and never replaces it.

Back to newsStory 11817

As cited

Copy frozen at (site build).

vulnerabilities

CPython [CVE-2026-116566] socket.getaddrinfo() accepts embedded null bytes in host and port

CPython's socket.getaddrinfo() function accepts embedded null bytes in host and port arguments, creating a medium severity vulnerability. The issue was disclosed October 29, 2026.

Why it matters: Python application developers must patch CPython to prevent null byte injection attacks that could bypass hostname validation or cause unexpected behavior in network code.

Source published
First seen by Cybersecurity Tracker

Source attribution

Glossary