CVE catalog

CVE-2026-56123

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 f

[CVE catalog]

Severity
Critical · CVSS 9.2
Published
Source
[NVD] · [CVE record]
EPSS
0.31% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiansocatsid1.8.1.3-2fixed
Debiansocatforky1.8.1.3-2fixed
Debiansocattrixie1.8.0.3-1+deb13u1fixed
Debiansocatbookworm1.7.4.4-2not affected
CpesocatNot reported1.8.0.0-4ubuntu0.1fixed
CpesocatNot reportedNot reportednot affected
CpesocatNot reported1.8.1.2fixed
Alpinesocat3.211.8.1.2-r0fixed
Alpinesocat3.221.8.1.2-r0fixed
Alpinesocat3.231.8.1.2-r0fixed
Alpinesocat3.241.8.1.2-r0fixed
Ubuntusocat24.041.7.4.4-2vulnerable
Ubuntusocat24.041.8.0.0-4vulnerable
Ubuntusocat24.041.8.0.0-4build1vulnerable
Ubuntusocat24.041.8.0.0-4build2vulnerable
Ubuntusocat24.041.8.0.0-4build3vulnerable
Ubuntusocat24.041.8.0.0-4ubuntu0.1fixed
Ubuntusocat25.101.8.0.2-1vulnerable
Ubuntusocat25.101.8.0.3-1vulnerable
Ubuntusocat25.101.8.0.3-1build1vulnerable
Ubuntusocat26.041.8.0.3-1build1vulnerable
Ubuntusocat26.041.8.1.0-1vulnerable
Ubuntusocat26.041.8.1.0-2vulnerable
Ubuntusocat26.041.8.1.1-1vulnerable
Ubuntusocat26.041.8.1.1-1ubuntu0.1fixed
Opensusesocattumbleweed1.8.1.3-1.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiansocatsourcesid1.8.1.3-1not yet assignedNot reportedNot reported
Debiansocatsourceforky1.8.1.3-1not yet assignedNot reportedNot reported
Debiansocatsourcetrixie1.8.0.3-1+deb13u1not yet assignedNot reportedNot reported
DebiansocatsourcebookwormNot affectedunimportantNot reportedNot reported
CpesocatcpeNot reported1.8.0.0-4ubuntu0.1Not reportedNot reportedNot reported
CpesocatcpeNot reported1.8.1.2Not reportedNot reportedNot reported
Alpinesocatapk3.211.8.1.2-r0Not reportedALPINE-CVE-2026-56123Not reported
Alpinesocatapk3.221.8.1.2-r0Not reportedALPINE-CVE-2026-56123Not reported
Alpinesocatapk3.231.8.1.2-r0Not reportedALPINE-CVE-2026-56123Not reported
Alpinesocatapk3.241.8.1.2-r0Not reportedALPINE-CVE-2026-56123Not reported
Ubuntusocatdeb24.041.8.0.0-4ubuntu0.1Not reportedUBUNTU-CVE-2026-56123Not reported
Ubuntusocatdeb26.041.8.1.1-1ubuntu0.1Not reportedUBUNTU-CVE-2026-56123Not reported
Opensusesocatrpmtumbleweed1.8.1.3-1.1Not reportedOPENSUSE-SU-2026:11151-1Not reported

OpenFactory catalog packages

[Debian 13 (Trixie)]

  • [socat]Affected
    Details (2)
    • 1.8.0.3-1 · amd64 · trixie

      Affected · Fixed: 1.8.0.3-1+deb13u1

      nvd · socat · debian · 13

    • 1.8.0.3-1 · arm64 · trixie

      Affected · Fixed: 1.8.0.3-1+deb13u1

      nvd · socat · debian · 13

[openSUSE Tumbleweed]

  • [socat-extra]Unknown

    Source package: [socat]

    Details (1)
    • 1.8.1.3-2.1 · x86_64 · tumbleweed

      Unknown · Fixed: 1.8.1.3-1.1

      Version impact unknown

      nvd · socat · opensuse · tumbleweed

  • [socat]Fixed

    Source package: [socat]

    Details (1)
    • 1.8.1.3-2.1 · x86_64 · tumbleweed

      Fixed · Fixed: 1.8.1.3-1.1

      nvd · socat · opensuse · tumbleweed

[Debian 12 (Bookworm)]

  • [socat]Not affected
    Details (4)
    • 1.7.4.4-2 · amd64 · bookworm

      Not affected

      nvd · socat · debian · bookworm

    • 1.7.4.4-2 · arm64 · bookworm

      Not affected

      nvd · socat · debian · bookworm

    • 1.8.0.0-4~bpo12+1 · amd64 · bookworm-backports

      Not affected

      nvd · socat · debian · bookworm

    • 1.8.0.0-4~bpo12+1 · arm64 · bookworm-backports

      Not affected

      nvd · socat · debian · bookworm

Observed:

References