Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-116566

Опубликовано: 29 окт. 2026
Источник: redhat
CVSS3: 5.3
EPSS Низкий

Описание

socket.getaddrinfo() previously accepted null bytes within host and port parameters which can cause the values to be silently truncated.

A flaw was found in Python. An attacker could bypass security controls and redirect network connections to unintended destinations due to improper input handling in the socket.getaddrinfo() function. Specifically, when host or port parameters contain null byte characters, the values are silently truncated during address resolution. This flaw enables attackers who supply network inputs to evade validation filters, such as domain or port allowlists.

Отчет

Red Hat has evaluated this vulnerability as Moderate because exploitation is limited to applications that forward unsanitized external input to hostname resolution routines while relying on prefix-based or suffix-based validation. While an attacker can cause target destinations to be interpreted differently by the resolver compared to preceding security checks, this does not directly compromise system integrity or allow arbitrary remote code execution. Standard system utilities and hardened network services that perform strict input verification or resolve predefined endpoints remain unaffected.

Меры по смягчению последствий

Reject or sanitize null bytes in host and port values before calling socket.getaddrinfo(), or upgrade to CPython 3.16.0+ or a build carrying the backported fix (upstream PRs #160925/#160926/#160974/#160975/#160977 for 3.15/3.14/3.13/3.12/3.11).

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 10python3.12Fix deferred
Red Hat Enterprise Linux 10python3.14Fix deferred
Red Hat Enterprise Linux 6pythonFix deferred
Red Hat Enterprise Linux 7pythonFix deferred
Red Hat Enterprise Linux 7python3Fix deferred
Red Hat Enterprise Linux 8python3.12Fix deferred
Red Hat Enterprise Linux 8python36:3.6/python36Fix deferred
Red Hat Enterprise Linux 9python3.12Fix deferred
Red Hat Enterprise Linux 9python3.14Fix deferred
Red Hat Enterprise Linux 9python3.9Affected

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-140
https://bugzilla.redhat.com/show_bug.cgi?id=2563615python: python: Security bypass via null byte truncation in socket.getaddrinfo()

EPSS

Процентиль: 18%
0.00259
Низкий

5.3 Medium

CVSS3

Связанные уязвимости

ubuntu
19 дней назад

socket.getaddrinfo() previously accepted null bytes within *host* and *port* parameters which can cause the values to be silently truncated.

nvd
19 дней назад

socket.getaddrinfo() previously accepted null bytes within *host* and *port* parameters which can cause the values to be silently truncated.

msrc
14 дней назад

socket.getaddrinfo() accepts embedded null bytes in host and port

debian
19 дней назад

socket.getaddrinfo() previously accepted null bytes within *host* and ...

github
19 дней назад

socket.getaddrinfo() previously accepted null bytes within *host* and *port* parameters which can cause the values to be silently truncated.

EPSS

Процентиль: 18%
0.00259
Низкий

5.3 Medium

CVSS3