CVE-2025-9810
5.8
Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:L
Exploitability: 1.0 / Impact: 4.7
Source: NVD
Description
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.
Affected (1)
References (4)
Source: 96148269-fe82-4198-b1bf-3a73ce8bc92e
Product
Source: 96148269-fe82-4198-b1bf-3a73ce8bc92e
Issue TrackingThird Party Advisory
https://github.com/antirez/linenoise/blob/4111f1d6cd29e136b4e86a25d1dd859a1e00813b/linenoise.c#L1321
Source: af854a3a-2127-422b-91ae-364da2661108
Source: af854a3a-2127-422b-91ae-364da2661108
Timeline
No history available yet.