CVE-2025-9810Published Sep 1, 2025 · Sep 1Updated Oct 28
TOCTOU race in Linenoise enables arbitrary file overwrite and permission changes
antirez linenoise
Medium6.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| antirez linenoise |
| No fix yet |
Original 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.
From the CVE record · CyberArk