CVE-2025-9810

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.

Score
CVSS 3.1 6.8 Medium
Status
Modified - 96148269-fe82-4198-b1bf-3a73ce8bc92e
Published
2025-09-01
Last modified
2026-04-22
Weaknesses
CWE-367

Affected products

References