Bug 2493004 (CVE-2026-56123) - CVE-2026-56123 socat: Socat: Heap-based buffer overflow allows arbitrary code execution via malicious SOCKS5 proxy server
Summary: CVE-2026-56123 socat: Socat: Heap-based buffer overflow allows arbitrary code...
Keywords:
Status: NEW
Alias: CVE-2026-56123
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2535043
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-06-25 17:01 UTC by OSIDB Bzimport
Modified: 2026-09-16 08:11 UTC (History)
21 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-06-25 17:01:50 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.