Every CVE Search/ Get API key

CVE-2024-54661

readline.sh in socat through 1.8.0.1 relies on the /tmp/$USER/stderr2 file.

9.8 CriticalFix available

readline.sh in socat before1.8.0.2 relies on the /tmp/$USER/stderr2 file.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

0.80%Up 0.8 points since Dec 4, 2024
90%50%10%1%

What each source reports

CVE List Score used 9.8

readline.sh in socat before1.8.0.2 relies on the /tmp/$USER/stderr2 file.

Record
CVE-2024-54661
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-61
Updated
2026-11-02
EUVDEUVD-2024-52644 9.8

readline.sh in socat before1.8.0.2 relies on the /tmp/$USER/stderr2 file.

Record
EUVD-2024-52644
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-03
GitHub AdvisoriesGHSA-x9w4-r3mh-39fw 9.8

readline.sh in socat through 1.8.0.1 relies on the /tmp/$USER/stderr2 file.

readline.sh in socat through 1.8.0.1 relies on the /tmp/$USER/stderr2 file.

Record
GHSA-x9w4-r3mh-39fw
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-61
Updated
2026-11-02
NVD 9.8

readline.sh in socat before1.8.0.2 relies on the /tmp/$USER/stderr2 file.

Record
CVE-2024-54661
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-61
Updated
2026-11-02
OSVALPINE-CVE-2024-54661 9.8

readline.sh in socat before1.8.0.2 relies on the /tmp/$USER/stderr2 file.

Record
ALPINE-CVE-2024-54661
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVBELL-CVE-2024-54661 9.8
Record
BELL-CVE-2024-54661
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 25 moreShow less
OSVDEBIAN-CVE-2024-54661 9.8

readline.sh in socat before1.8.0.2 relies on the /tmp/$USER/stderr2 file.

Record
DEBIAN-CVE-2024-54661
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVOESA-2024-2580 9.8

socat security update

Socat is a relay for bidirectional data transfer between two independent data channels. Each of these data channels may be a file, pipe, device (serial line etc. or a pseudo terminal), a socket (UNIX, IP4, IP6 - raw, UDP, TCP), an SSL socket, proxy CONNECT connection, a file descriptor (stdin etc.), the GNU line editor (readline), a program, or a combination of two of these.

Security Fix(es):

readline.sh in socat through 1.8.0.1 relies on the /tmp/$USER/stderr2 file.(CVE-2024-54661)

Record
OESA-2024-2580
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVRHSA-2025:10353 5.3

Red Hat Security Advisory: socat security update

Record
RHSA-2025:10353
CVSS 3.1
5.3 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Updated
2026-11-02
OSVRHSA-2025:10544 5.3

Red Hat Security Advisory: socat security update

Record
RHSA-2025:10544
CVSS 3.1
5.3 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Updated
2026-11-02
OSVRHSA-2025:10646 5.3

Red Hat Security Advisory: socat security update

Record
RHSA-2025:10646
CVSS 3.1
5.3 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Updated
2026-11-02
OSVRHSA-2025:11042 5.3

Red Hat Security Advisory: socat security update

Record
RHSA-2025:11042
CVSS 3.1
5.3 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Updated
2026-11-02
OSVRLSA-2025:10353 5.3

Moderate: socat security update

The socat utility establishes bi-directional byte streams and transfers data between them. The utility can establish streams between a large set of channels, such as files, pipes, devices, and sockets.

Security Fix(es):

  • socat: arbitrary file overwrite via predictable /tmp directory (CVE-2024-54661)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
RLSA-2025:10353
CVSS 3.1
5.3 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Updated
2026-11-02
OSVRLSA-2025:11042 5.3

Moderate: socat security update

The socat utility establishes bi-directional byte streams and transfers data between them. The utility can establish streams between a large set of channels, such as files, pipes, devices, and sockets.

Security Fix(es):

  • socat: arbitrary file overwrite via predictable /tmp directory (CVE-2024-54661)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
RLSA-2025:11042
CVSS 3.1
5.3 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Updated
2026-11-02
OSVUBUNTU-CVE-2024-54661 9.8

readline.sh in socat before1.8.0.2 relies on the /tmp/$USER/stderr2 file.

Record
UBUNTU-CVE-2024-54661
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVALSA-2025:10353 No score

Moderate: socat security update

The socat utility establishes bi-directional byte streams and transfers data between them. The utility can establish streams between a large set of channels, such as files, pipes, devices, and sockets.

Security Fix(es):

  • socat: arbitrary file overwrite via predictable /tmp directory (CVE-2024-54661)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
ALSA-2025:10353
Updated
2026-11-02
OSVALSA-2025:11042 No score

Moderate: socat security update

The socat utility establishes bi-directional byte streams and transfers data between them. The utility can establish streams between a large set of channels, such as files, pipes, devices, and sockets.

Security Fix(es):

  • socat: arbitrary file overwrite via predictable /tmp directory (CVE-2024-54661)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
ALSA-2025:11042
Updated
2026-11-02
OSVAZL-53960 No score

CVE-2024-54661 affecting package socat for versions less than 1.7.4.4-2

readline.sh in socat before1.8.0.2 relies on the /tmp/$USER/stderr2 file.

Record
AZL-53960
Updated
2026-11-02
OSVAZL-53978 No score

CVE-2024-54661 affecting package socat for versions less than 1.7.4.3-2

readline.sh in socat before1.8.0.2 relies on the /tmp/$USER/stderr2 file.

Record
AZL-53978
Updated
2026-11-02
OSVCLSA-2026-1782140243 No score

socat: Fix of CVE-2024-54661

  • CVE-2024-54661: fix arbitrary file overwrite in readline.sh
Record
CLSA-2026-1782140243
Updated
2026-11-02
OSV No score

readline.sh in socat before1.8.0.2 relies on the /tmp/$USER/stderr2 file.

Record
CVE-2024-54661
Updated
2026-11-02
OSVMGASA-2024-0390 No score

Updated socat packages fix security vulnerability

CVE-2024-54661: Fixed arbitrary file overwrite via predictable /tmp directory in socat readline.sh

Record
MGASA-2024-0390
Updated
2026-11-02
OSVopenSUSE-SU-2024:14582-1 No score

socat-1.8.0.2-1.1 on GA media

These are all security issues fixed in the socat-1.8.0.2-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:14582-1
Updated
2026-11-02
OSVROOT-OS-ALPINE-318-CVE-2024-54661 No score

CVE-2024-54661 in rootio-socat - Patched by Root

Root has patched CVE-2024-54661 in the rootio-socat package for Root:Alpine:3.18. Multiple fixed versions available.

Record
ROOT-OS-ALPINE-318-CVE-2024-54661
Updated
2026-11-02
OSVROOT-OS-ALPINE-319-CVE-2024-54661 No score

CVE-2024-54661 in rootio-socat - Patched by Root

Root has patched CVE-2024-54661 in the rootio-socat package for Root:Alpine:3.19. Multiple fixed versions available.

Record
ROOT-OS-ALPINE-319-CVE-2024-54661
Updated
2026-11-02
OSVROOT-OS-ALPINE-320-CVE-2024-54661 No score

CVE-2024-54661 in rootio-socat - Patched by Root

Root has patched CVE-2024-54661 in the rootio-socat package for Root:Alpine:3.20. Multiple fixed versions available.

Record
ROOT-OS-ALPINE-320-CVE-2024-54661
Updated
2026-11-02
OSVSUSE-SU-2024:4294-1 No score

Security update for socat

This update for socat fixes the following issues:

  • CVE-2024-54661: Fixed arbitrary file overwrite via predictable /tmp directory (bsc#1225462)
Record
SUSE-SU-2024:4294-1
Updated
2026-11-02
OSVSUSE-SU-2024:4295-1 No score

Security update for socat

This update for socat fixes the following issues:

  • CVE-2024-54661: Fixed arbitrary file overwrite via predictable /tmp directory in socat readline.sh (bsc#1225462)
Record
SUSE-SU-2024:4295-1
Updated
2026-11-02
OSVSUSE-SU-2024:4302-1 No score

Security update for socat

This update for socat fixes the following issues:

  • CVE-2024-54661: Fixed arbitrary file overwrite via predictable /tmp directory (bsc#1225462)
Record
SUSE-SU-2024:4302-1
Updated
2026-11-02
OSVSUSE-SU-2024:4348-1 No score

Security update for socat

This update for socat fixes the following issues:

  • CVE-2024-54661: Fixed arbitrary file overwrite via predictable /tmp directory (bsc#1225462)
Record
SUSE-SU-2024:4348-1
Updated
2026-11-02
OSVUSN-8511-1 No score

socat vulnerabilities

It was discovered that socat incorrectly handled the SOCKS5 proxy server reply parser. A remote attacker could possibly use this issue to execute arbitrary code. (CVE-2026-56123)

It was discovered that socat incorrectly handled a sample script. A local attacker could possibly use this issue to overwrite arbitrary files. This issue only affected Ubuntu 24.04 LTS. (CVE-2024-54661)

Record
USN-8511-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
socat
AlmaLinux:9
before 1.7.4.1-6.el9_6.1
1.7.4.1-6.el9_6.1
socat
AlmaLinux:8
before 1.7.4.1-2.el8_10
1.7.4.1-2.el8_10
socat
Azure Linux:3
before 1.7.4.4-2
1.7.4.4-2
socat
Azure Linux:2
before 1.7.4.3-2
1.7.4.3-2
socat
Alpaquita:23
1.7.4.4-r0 and later None known
socat
Alpaquita:stream
1.8.0.0-r0 up to 1.8.0.2-r0
1.8.0.2-r0
socat
TuxCare:AlmaLinux:9.2
before 1.7.4.1-5.el9.tuxcare.els1
1.7.4.1-5.el9.tuxcare.els1
socat
Debian:12
All versions, plus listed versions
1.7.4.4-21.7.4.4-2+hurd.11.8.0.0-11.8.0.0-21.8.0.0-3
Show 17 moreShow less
1.8.0.0-41.8.0.0-4~bpo12+11.8.0.1-11.8.0.1-21.8.0.2-11.8.0.3-11.8.1.0-11.8.1.0-21.8.1.1-11.8.1.1-21.8.1.3-11.8.1.3-22.0.0~beta3-12.0.0~beta3-22.0.0~beta4-12.0.0~beta4-1.12.0.0~beta9-1
None known
socat
Debian:13
before 1.8.0.2-1
1.8.0.2-1
socat
Debian:14
before 1.8.0.2-1
1.8.0.2-1
Show 41 moreShow less
Affected packages
PackageAffectedFixed
socat
Mageia:9
before 1.8.0.2-1.mga9
1.8.0.2-1.mga9
socat
openEuler:24.03-LTS
before 1.8.0.0-3.oe2403
1.8.0.0-3.oe2403
socat
openEuler:22.03-LTS-SP4
before 1.7.3.2-9.oe2203sp4
1.7.3.2-9.oe2203sp4
socat
openEuler:22.03-LTS-SP3
before 1.7.3.2-9.oe2203sp3
1.7.3.2-9.oe2203sp3
socat
openEuler:20.03-LTS-SP4
before 1.7.3.2-9.oe2003sp4
1.7.3.2-9.oe2003sp4
socat
openEuler:22.03-LTS-SP1
before 1.7.3.2-9.oe2203sp1
1.7.3.2-9.oe2203sp1
socat
Red Hat:enterprise_linux:9::appstream
before 0:1.7.4.1-6.el9_6.1
0:1.7.4.1-6.el9_6.1
socat-debuginfo
Red Hat:enterprise_linux:9::appstream
before 0:1.7.4.1-6.el9_6.1
0:1.7.4.1-6.el9_6.1
socat-debugsource
Red Hat:enterprise_linux:9::appstream
before 0:1.7.4.1-6.el9_6.1
0:1.7.4.1-6.el9_6.1
socat
Red Hat:rhel_e4s:9.2::appstream
before 0:1.7.4.1-5.el9_2.2
0:1.7.4.1-5.el9_2.2
socat-debuginfo
Red Hat:rhel_e4s:9.2::appstream
before 0:1.7.4.1-5.el9_2.2
0:1.7.4.1-5.el9_2.2
socat-debugsource
Red Hat:rhel_e4s:9.2::appstream
before 0:1.7.4.1-5.el9_2.2
0:1.7.4.1-5.el9_2.2
socat
Red Hat:rhel_eus:9.4::appstream
before 0:1.7.4.1-5.el9_4.3
0:1.7.4.1-5.el9_4.3
socat-debuginfo
Red Hat:rhel_eus:9.4::appstream
before 0:1.7.4.1-5.el9_4.3
0:1.7.4.1-5.el9_4.3
socat-debugsource
Red Hat:rhel_eus:9.4::appstream
before 0:1.7.4.1-5.el9_4.3
0:1.7.4.1-5.el9_4.3
socat
Red Hat:enterprise_linux:8::appstream
before 0:1.7.4.1-2.el8_10
0:1.7.4.1-2.el8_10
socat-debuginfo
Red Hat:enterprise_linux:8::appstream
before 0:1.7.4.1-2.el8_10
0:1.7.4.1-2.el8_10
socat-debugsource
Red Hat:enterprise_linux:8::appstream
before 0:1.7.4.1-2.el8_10
0:1.7.4.1-2.el8_10
socat
Rocky Linux:9
before 0:1.7.4.1-6.el9_6.1
0:1.7.4.1-6.el9_6.1
socat
Rocky Linux:8
before 0:1.7.4.1-2.el8_10
0:1.7.4.1-2.el8_10
rootio-socat
Root:Alpine:3.18
before 1.7.4.4-r10071
1.7.4.4-r10071
rootio-socat
Root:Alpine:3.19
before 1.8.0.0-r00071
1.8.0.0-r00071
rootio-socat
Root:Alpine:3.20
before 1.8.0.0-r00071
1.8.0.0-r00071
socat
SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5
before 1.7.2.4-4.3.1
1.7.2.4-4.3.1
socat
SUSE:Linux Enterprise Module for Basesystem 15 SP6
before 1.8.0.0-150600.20.6.1
1.8.0.0-150600.20.6.1
socat
openSUSE:Leap 15.6
before 1.8.0.0-150600.20.6.1
1.8.0.0-150600.20.6.1
socat
SUSE:Linux Enterprise Micro 5.3
before 1.8.0.0-150400.14.6.1
1.8.0.0-150400.14.6.1
socat
SUSE:Linux Enterprise Micro 5.4
before 1.8.0.0-150400.14.6.1
1.8.0.0-150400.14.6.1
socat
SUSE:Linux Enterprise Micro 5.5
before 1.8.0.0-150400.14.6.1
1.8.0.0-150400.14.6.1
socat
SUSE:Linux Enterprise Module for Basesystem 15 SP5
before 1.8.0.0-150400.14.6.1
1.8.0.0-150400.14.6.1
socat
openSUSE:Leap Micro 5.5
before 1.8.0.0-150400.14.6.1
1.8.0.0-150400.14.6.1
socat
openSUSE:Leap 15.5
before 1.8.0.0-150400.14.6.1
1.8.0.0-150400.14.6.1
socat
SUSE:Linux Enterprise Micro 5.2
before 1.7.3.2-150000.6.3.1
1.7.3.2-150000.6.3.1
socat
Ubuntu:Pro:14.04:LTS
All versions, plus listed versions
1.7.1.3-1.5ubuntu11.7.2.2-11.7.2.3-11.7.2.3-1ubuntu0.1~esm1
None known
socat
Ubuntu:16.04:LTS
All versions, plus listed versions
1.7.3.0-11.7.3.0-21.7.3.1-1
None known
socat
Ubuntu:18.04:LTS
All versions, plus listed versions
1.7.3.2-11.7.3.2-21.7.3.2-2build11.7.3.2-2ubuntu2
None known
socat
Ubuntu:20.04:LTS
All versions, plus listed versions
1.7.3.2-2ubuntu31.7.3.3-2
None known
socat
Ubuntu:22.04:LTS
All versions, plus listed versions
1.7.4.1-3ubuntu11.7.4.1-3ubuntu21.7.4.1-3ubuntu31.7.4.1-3ubuntu4
None known
socat
Ubuntu:24.04:LTS
before 1.8.0.0-4ubuntu0.1, plus listed versions
1.7.4.4-21.8.0.0-41.8.0.0-4build11.8.0.0-4build21.8.0.0-4build3
1.8.0.0-4ubuntu0.1
socat
Ubuntu:26.04:LTS
before 1.8.1.1-1ubuntu0.1, plus listed versions
1.8.0.3-1build11.8.1.0-11.8.1.0-21.8.1.1-1
1.8.1.1-1ubuntu0.1
socat
openSUSE:Tumbleweed
before 1.8.0.2-1.1
1.8.0.2-1.1

History

History
RecordedChangedSources
affected
aliasesEUVD
aliases
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2024-54661 is a critical vulnerability (CVSS 9.8) in Dest-unreach Socat, published December 4, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.80%, the 56th percentile. Fixed in socat 1.7.4.1-6.el9_6.1.

References

Show 34 moreShow less
MoveEnter Open