PT-2026-52504 · Socat · Socat
Tristan Madani
·
Published
2026-06-25
·
Updated
2026-06-25
·
CVE-2026-56123
CVSS v3.1
8.1
High
| Vector | AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
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.
Fix
Heap Based Buffer Overflow
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Socat