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
| Link | Resource |
|---|---|
| https://github.com/antirez/linenoise/blob/master/linenoise.c#L1321 | Product |
| https://github.com/antirez/linenoise/pull/202 | Issue Tracking Third Party Advisory |
Configurations
History
No history.
Information
Published : 2025-09-01 19:15
Updated : 2025-12-08 15:27
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
