PT-2025-35507
CVE-2025-9810
·
Published
2025-09-01
·
Updated
2025-12-08
Description by
CVSS 3.1
6.8
MediumMetricsAV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L
Name of the Vulnerable Software and Affected Versions
linenoise (affected versions not specified)
Description
A time-of-check to time-of-use (TOCTOU) issue exists in the
linenoiseHistorySave function within the linenoise library. This flaw allows local attackers to overwrite arbitrary files and modify permissions by exploiting a symlink race condition. The race occurs between the fopen("w") operation on the history path and a subsequent chmod() operation on the same path.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploitability
Exploit
Impacts
Researchers
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾