Advisory

UBUNTU-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

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

Dates

Published
2026-06-25 17:17 UTC
Modified
2026-07-06 20:30 UTC

Affected packages and fixes

socat

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 1.8.0.0-4ubuntu0.1 (ecosystem)

Fixed versions

1.8.0.0-4ubuntu0.1

Fix

  • Fixed version 1.8.0.0-4ubuntu0.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.

socat

Debian packages (deb) · Ubuntu 25.10

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

socat

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 1.8.1.1-1ubuntu0.1 (ecosystem)

Fixed versions

1.8.1.1-1ubuntu0.1

Fix

  • Fixed version 1.8.1.1-1ubuntu0.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: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences