Medium (5.8) in antirez linenoise. EPSS 0.1% chance of exploitation in the next 30 days.
TOCTOU in linenoiseHistorySave in linenoise allows local attackers to overwrite arbitrary files and change permissions via a symlink race between fopen("w") on the history path and subsequent chmod() on the same path.
Severity
CVSS 3.1
5.8 medium
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:L
EPSS
0.1% chance of exploitation in the next 30 days; higher than 1% of CVEs (scores of 2026-10-31)