CVE-2026-56123
published critical CVSS 4.0 · 9.2socat 1.8.0.0 - 1.8.1.1 Heap Buffer Overflow via SOCKS5 Reply Parser
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| socat | — | socat1.8.0.0 to < 1.8.1.2 · Other versions: affected | Affected | Not stated | VulnCheck |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Alpine Linux | edge | socat | Fixed | 1.8.1.2-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | socataarch64 | Advisory build | 1.8.1.3-1.1 | OPENSUSE-SU-2026:11151-1 |
| Ubuntu | noble | socat | Advisory build | 1.8.0.0-4ubuntu0.1 | USN-8511-1 |
| Alpine Linux | v3.21 | socat | Fixed | 1.8.1.2-r0 | Package fix record |
| Alpine Linux | v3.22 | socat | Fixed | 1.8.1.2-r0 | Package fix record |
Show 10 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.23 | socat | Fixed | 1.8.1.2-r0 | Package fix record |
| Alpine Linux | v3.24 | socat | Fixed | 1.8.1.2-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | socatppc64le | Advisory build | 1.8.1.3-1.1 | OPENSUSE-SU-2026:11151-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | socats390x | Advisory build | 1.8.1.3-1.1 | OPENSUSE-SU-2026:11151-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | socatx86_64 | Advisory build | 1.8.1.3-1.1 | OPENSUSE-SU-2026:11151-1 |
| Ubuntu | resolute | socat | Advisory build | 1.8.1.1-1ubuntu0.1 | USN-8511-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | socat-extraaarch64 | Advisory build | 1.8.1.3-1.1 | OPENSUSE-SU-2026:11151-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | socat-extrappc64le | Advisory build | 1.8.1.3-1.1 | OPENSUSE-SU-2026:11151-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | socat-extras390x | Advisory build | 1.8.1.3-1.1 | OPENSUSE-SU-2026:11151-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | socat-extrax86_64 | Advisory build | 1.8.1.3-1.1 | OPENSUSE-SU-2026:11151-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.2 / 10
- Severity
- critical
- Provider
- VulnCheck · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.1 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| socat | socat | 1.8.0.0 to < 1.8.1.2 (affected · custom)Default: affected | VulnCheck · cna |
Weaknesses
1- CWE-122 Heap-based Buffer Overflow
References
2Provider assertions
2VulnCheck · cna
socat 1.8.0.0 - 1.8.1.1 Heap Buffer Overflow via SOCKS5 Reply Parser
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- eb36f1e003fd10acd1d693cc47fb059a8a947fe596e147f8b89850db24675135
- Ingested
- 23 Sep 2026, 09:21:21 UTC
- Source record
- Official CVE record