Advisory

DEBIAN-CVE-2026-56123

Also known as: CVE-2026-56123

Summary

The record has no summary.

Details

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.

Severity

Critical Basis: CVSS v3 score 9.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2026-06-25 17:17 UTC
Modified
2026-10-01 03:03 UTC

Affected packages and fixes

socat

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 1.8.0.3-1+deb13u1 (ecosystem)

Fixed versions

1.8.0.3-1+deb13u1

Fix

  • Fixed version 1.8.0.3-1+deb13u1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

socat

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 1.8.1.3-1 (ecosystem)

Fixed versions

1.8.1.3-1

Fix

  • Fixed version 1.8.1.3-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences