CVE-2025-9810
MEDIUMlinenoise - Time-of-check Time-of-use Race Condition in linenoiseHistorySave
Title source: llmDescription
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 (4)
Core 4
Core References
Third Party Advisory
https://github.com/antirez/linenoise/blob/4111f1d6cd29e136b4e86a25d1dd859a1e00813b/linenoise.c#L1321
Issue Tracking, Third Party Advisory
https://github.com/antirez/linenoise/pull/202
Scores
CVSS v3
6.8
EPSS
0.0010
EPSS Percentile
1.0%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-367
Status
published
Products (2)
antirez/linenoise
1.0
antirez/linenoise
(2 CPE variants)
Published
Sep 01, 2025
Tracked Since
Feb 18, 2026