All reports
Medium

socat: arbitrary file overwrite via predictable /tmp directory

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2024-54661

Probability of exploitation in the next 30 days: 0.80%

FIRST EPSS · 2026-11-23

Description

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

A flaw was found in the readline.sh script of Socat through version 1.8.0.1. This vulnerability can allow attackers to exploit improper use of a predictable temporary file.