{"id":"DHI-fvpg-wy53-ylhv-iiyi","summary":"socat versions 1.8.0.0 through 1.8.1.1 contain a heap-based buffer overflow vulnerability that allows a malicious…","details":"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.\n\n---\n- socat 1.8.1.3-1\n[trixie] - socat 1.8.0.3-1+deb13u1\n[bookworm] - socat \u003cnot-affected\u003e (SOCKS5 client (xio-socks5.c) introduced in 1.8.0.0)\n[bullseye] - socat \u003cnot-affected\u003e (SOCKS5 client (xio-socks5.c) introduced in 1.8.0.0)","modified":"2026-11-16T02:35:06.292572985Z","published":"2026-11-11T18:58:10Z","upstream":["CVE-2026-56123"],"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-fvpg-wy53-ylhv-iiyi"},{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2026-56123"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-56123"},{"type":"ADVISORY","url":"https://ubuntu.com/security/CVE-2026-56123"},{"type":"ADVISORY","url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-56123"}],"affected":[{"package":{"name":"socat","ecosystem":"Docker Hardened Images:Alpine:3.23","purl":"pkg:apk/dhi/socat"},"versions":["1.7.4.4-r1","1.8.0.3-r1","1.8.1.2-r0","1.8.1.3-r0"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-fvpg-wy53-ylhv-iiyi.json"}},{"package":{"name":"socat","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/socat"},"versions":["1.8.1.1-r0","1.8.1.2-r0","1.8.1.3-r0"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-fvpg-wy53-ylhv-iiyi.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}