TOCTOU race in Linenoise enables arbitrary file overwrite and permission changes
Vulnerability 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.
Impact Analysis
Refer to official advisory for detailed impact metrics.
Remediation
Ensure systems are updated to the latest vendor-supplied patch levels.
Am I Vulnerable?
Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-9810
Credits & Attribution
The following person or organization is credited with identifying this vulnerability, as recorded in the NVD database:
- @disconnect3d
- Simcha Kosman
Affected Vendor
antirez
View all reports →