What’s Vulnerable › Vulnerabilities

CVE-2025-9810: TOCTOU race in Linenoise enables arbitrary file overwrite and permission changes

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 products

References

Get alerted when CVE-2025-9810 or the next vulnerability affects your stack