PT-2025-35507 · Linenoise · Linenoise
Disconnect3D
+1
·
Published
2025-09-01
·
Updated
2025-12-08
·
CVE-2025-9810
CVSS v3.1
6.8
Medium
| Vector | AV: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.
Time Of Check To Time Of Use
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Linenoise