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
Configurations
History
No history.
Information
Published : 2025-09-01 19:15
Updated : 2026-06-17 10:09
NVD link : CVE-2025-9810
Mitre link : CVE-2025-9810
CVE.ORG link : CVE-2025-9810
JSON object : View
Products Affected
antirez
- linenoise
CWE
CWE-367
Time-of-check Time-of-use (TOCTOU) Race Condition
