Skip to main content
CVE-2026-56123VulnerabilityPublished Updated

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

Affects socatSource GCVE Database

0
Compare

Not known to be exploited · CVSS 9.8 Critical · fixed in 1.8.0.0-4ubuntu0.1 : patch socat as a priority.

Data as of 24 Nov 2026, 21:16 UTC

CVSS 3.1 base score
9.8Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 24% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.8.0.0-4ubuntu0.1, 1.8.1.1-1ubuntu0.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 25 Jun 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Upgrade the Ubuntu socat to 1.8.0.0-4ubuntu0.1 (package) or 1.8.1.1-1ubuntu0.1 (package).

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTSsocatpkg:deb/ubuntu/socat?arch=source&distro=resoluteOther threatsAffected
  • <1.8.1.1-1ubuntu0.1
Fixed in
  • 1.8.1.1-1ubuntu0.1
Ubuntu 25.10socatpkg:deb/ubuntu/socat?arch=source&distro=questingOther threatsAffected
  • =1.8.0.2-1
  • =1.8.0.3-1
  • =1.8.0.3-1build1
Fixed in–
Ubuntu 24.04 LTSsocatpkg:deb/ubuntu/socat?arch=source&distro=nobleOther threatsAffected
  • <1.8.0.0-4ubuntu0.1
Fixed in
  • 1.8.0.0-4ubuntu0.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…