{"id":"CVE-2026-56123","published":"2026-06-25T15:43:19Z","modified":"2026-07-14T21:34:06Z","title":"socat 1.8.0.0 - 1.8.1.1 Heap Buffer Overflow via SOCKS5 Reply Parser","vendor":"socat","product":"socat","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00548,"percentile":0.39477,"provenance":"source"},"cwes":[{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"references":[{"url":"http://www.dest-unreach.org/socat/CHANGES","tags":["release-notes","patch"]},{"url":"https://www.vulncheck.com/advisories/socat-heap-buffer-overflow-via-socks5-reply-parser","tags":["third-party-advisory"]}],"priority":{"score":13.6,"factors":[{"name":"EPSS percentile","points":7.9},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"socat","affectedVersions":[{"vendor":"socat","product":"socat","versions":[">= 1.8.0.0, < 1.8.1.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-06-26T02:03:26.743703Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-39455","exploited":false,"provenance":"source"}}