Vulnerabilidades / CVE-2026-56123

crítica

CVE-2026-56123

socat: Socat: Heap-based buffer overflow allows arbitrary code execution via malicious SOCKS5 proxy server

Publicada Modificada CWE 122
En la Trivy database desde, como mínimo, el 24 oct 2026, 07:11 UTCNo consta cuándo entró antes de ese build.

Severidad por fuente

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

La etiqueta propia de Trivy es CRITICAL. Crítica según NVD. Más baja según Red Hat (alta), Ubuntu (media).

Descripción

socat versions 1.8.0.0 through 1.8.1.1 contain a heap-based buffer overflow vulnerability that allows a malicious SOCKS5 proxy server to overwrite adjacent heap memory by exploiting a sign-extension flaw in the DOMAINNAME reply parser. During connection setup, the domain name length byte is read through a signed char field causing a negative bytes_to_read value that is implicitly converted to size_t, resulting in an unbounded heap write into the 262-byte reply buffer with attacker-controlled size and content.

Paquetes afectados y versiones corregidas

FuentePaqueteCorregido en
alpine 3.21socat1.8.1.2-r0
alpine 3.22socat1.8.1.2-r0
alpine 3.23socat1.8.1.2-r0
alpine 3.24socat1.8.1.2-r0
alpine edgesocat1.8.1.2-r0
debian 13socat1.8.0.3-1+deb13u1
debian 14socat1.8.1.3-1
echosocat1.8.1.3-1
rapidfort alpine 3.20socat1.8.0.3-r0
rapidfort alpine 3.23socat1.8.0.3-r0
rapidfort debian 12socat0:1.8.0.3-1+deb13u1, 0:1.8.1.3-1
rapidfort debian 13socat0:1.8.0.3-1+deb13u1, 0:1.8.1.3-1
Mostrar las 21 entradas de 18 fuentes
FuentePaqueteCorregido en
alpine 3.21socat1.8.1.2-r0
alpine 3.22socat1.8.1.2-r0
alpine 3.23socat1.8.1.2-r0
alpine 3.24socat1.8.1.2-r0
alpine edgesocat1.8.1.2-r0
debian 13socat1.8.0.3-1+deb13u1
debian 14socat1.8.1.3-1
echosocat1.8.1.3-1
rapidfort alpine 3.20socat1.8.0.3-r0
rapidfort alpine 3.23socat1.8.0.3-r0
rapidfort debian 12socat0:1.8.0.3-1+deb13u1, 0:1.8.1.3-1
rapidfort debian 13socat0:1.8.0.3-1+deb13u1, 0:1.8.1.3-1
rapidfort fedora 43socat1.8.1.3-1.fc43
rapidfort ubuntu 20.04rf-socat0:1.8.0.0-4ubuntu0.1, 0:1.8.1.1-1ubuntu0.1
rapidfort ubuntu 20.04socat0:1.8.0.0-4ubuntu0.1, 0:1.8.1.1-1ubuntu0.1
rapidfort ubuntu 22.04rf-socat0:1.8.0.0-4ubuntu0.1, 0:1.8.1.1-1ubuntu0.1
rapidfort ubuntu 22.04socat0:1.8.0.0-4ubuntu0.1, 0:1.8.1.1-1ubuntu0.1
rapidfort ubuntu 24.04rf-socat0:1.8.0.0-4ubuntu0.1, 0:1.8.1.1-1ubuntu0.1
rapidfort ubuntu 24.04socat0:1.8.0.0-4ubuntu0.1, 0:1.8.1.1-1ubuntu0.1
ubuntu 24.04socat1.8.0.0-4ubuntu0.1
ubuntu 26.04socat1.8.1.1-1ubuntu0.1

Referencias

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.