TOCTOU in linenoiseHistorySave in linenoise allows local...
Moderate severity
Unreviewed
Published
Dec 8, 2025
to the GitHub Advisory Database
Description
Published by the National Vulnerability Database
Sep 1, 2025
Published to the GitHub Advisory Database
Dec 8, 2025
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.
References