🛡️ CVE-2026-56123 on Alpine — socat
Description
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.
Distribution advisory
This page covers CVE-2026-56123 as tracked by Alpine, for the package socat. The fix is available in version 1.8.1.2-r0; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability high.
Weakness class
ALPINE-CVE-2026-56123 is classified as CWE-122: Heap-based Buffer Overflow. A write past the end of a heap allocation corrupts allocator metadata or neighbouring objects.
Affected software
ALPINE-CVE-2026-56123 is recorded against 1 package.
- socat (from 1.8.0.0 up to 1.8.1.2-r0)
Timeline and source
Published on 25 June 2026 and last revised on 8 July 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
Details
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| socat | 1.8.0.0 | 1.8.1.2-r0 |
References
Similar Threats
- Unknown MGASA-2026-0290
- Critical OESA-2026-2942
- Critical OESA-2026-2943
- Unknown ECHO-0d27-ed35-8289
- Unknown BELL-CVE-2026-56123
Site Security Check
Is socat part of your stack?
ALPINE-CVE-2026-56123 is rated CVSS 8.1 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.