Bug 2535043

Summary: CVE-2026-56123 socat: Socat: Heap-based buffer overflow allows arbitrary code execution via malicious SOCKS5 proxy server [fedora-all]
Product: [Fedora] Fedora Reporter: Tomas Hoger <thoger>
Component: socatAssignee: Paul Wouters <paul.wouters>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: rawhideCC: fhrdina, mosvald, paul.wouters
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---Flags: fedora-admin-xmlrpc: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["0090ee98-5aa8-4795-b6ca-3fd912259123"]}
Fixed In Version: socat-1.8.1.3-1.fc46 socat-1.8.1.3-1.fc43 socat-1.8.1.3-1.fc44 socat-1.8.1.3-1.fc45 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-10-07 10:10:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2493004    

Description Tomas Hoger 2026-09-16 08:11:39 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.

Comment 1 Fedora Update System 2026-10-07 08:04:08 UTC
FEDORA-2026-3bb7b0bc5a (socat-1.8.1.3-1.fc46) has been submitted as an update to Fedora 46.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-3bb7b0bc5a

Comment 2 Fedora Update System 2026-10-07 08:18:01 UTC
FEDORA-2026-ddab5501ea (socat-1.8.1.3-1.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-ddab5501ea

Comment 3 Fedora Update System 2026-10-07 08:18:15 UTC
FEDORA-2026-4172dae890 (socat-1.8.1.3-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-4172dae890

Comment 4 Fedora Update System 2026-10-07 08:18:45 UTC
FEDORA-2026-232ffc1325 (socat-1.8.1.3-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-232ffc1325

Comment 5 Fedora Update System 2026-10-07 10:10:14 UTC
FEDORA-2026-3bb7b0bc5a (socat-1.8.1.3-1.fc46) has been pushed to the Fedora 46 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2026-10-08 02:08:05 UTC
FEDORA-2026-ddab5501ea has been pushed to the Fedora 45 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-ddab5501ea`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-ddab5501ea

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2026-10-08 02:31:27 UTC
FEDORA-2026-4172dae890 has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-4172dae890`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-4172dae890

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2026-10-08 03:01:06 UTC
FEDORA-2026-232ffc1325 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-232ffc1325`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-232ffc1325

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2026-10-22 16:41:02 UTC
FEDORA-2026-232ffc1325 (socat-1.8.1.3-1.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2026-10-23 01:21:52 UTC
FEDORA-2026-4172dae890 (socat-1.8.1.3-1.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 11 Fedora Update System 2026-10-31 18:31:51 UTC
FEDORA-2026-ddab5501ea (socat-1.8.1.3-1.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.