VulnerabilityModified
CVE-2025-9810
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.
MEDIUM 5.8EPSS 0.11%
Does this matter?
Lower severity and a low EPSS score (0.11%). Track it; it rarely justifies an emergency change on its own.
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.
- CVSS 3.1
- 5.8 MEDIUMCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:L
- EPSS
- 0.11% probability · 1th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-367
- Affected
- antirez/linenoise
- Source
- 96148269-fe82-4198-b1bf-3a73ce8bc92e
References
- https://github.com/antirez/linenoise/blob/master/linenoise.c#L1321Product
- https://github.com/antirez/linenoise/pull/202Issue Tracking, Third Party Advisory
- https://github.com/antirez/linenoise/blob/4111f1d6cd29e136b4e86a25d1dd859a1e00813b/linenoise.c#L1321
- https://github.com/antirez/linenoise/commit/f2558e1e588b1ba384ec73a2cf5c9a46409753db
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.