{"id":"CVE-2026-56123","aliases":["CVE-2026-56123"],"related":[],"kind":"vulnerability","state":"published","title":"socat 1.8.0.0 - 1.8.1.1 Heap Buffer Overflow via SOCKS5 Reply Parser","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-06-25T15:43:19.580Z","modified":"2026-07-14T21:34:06.653Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":9.2,"rating":"CRITICAL"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":9.2,"rating":"CRITICAL"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-122"],"affected":[{"ranges":[{"type":"custom","introduced":"1.8.0.0","fixed":"1.8.1.2","status":"affected"}],"vendor":"socat","product":"socat","repo":"https://repo.or.cz/socat.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"1.8.0.0","fixed":"1.8.1.2"}],"vendor":"dest-unreach","product":"socat","cpe":"cpe:2.3:a:dest-unreach:socat:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"http://www.dest-unreach.org/socat/CHANGES","tags":["patch","release-notes"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/socat-heap-buffer-overflow-via-socks5-reply-parser","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Tristan Madani (@TristanInSec)"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-06-26T02:03:26.743Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-56123","url":"https://www.cve.org/CVERecord?id=CVE-2026-56123","licence":"CVE Terms of Use","modified":"2026-07-14T21:34:06.653Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-56123","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-56123","licence":"Public domain","modified":"2026-06-26T16:50:16.103Z"}],"updatedAt":"2026-11-25T22:59:26.390Z","epss":{"score":0.00314,"percentile":0.26284,"date":"2026-12-01T12:00:22.000Z"}}