Local File Overwrite Vulnerability in Linenoise from Antirez
CVE-2025-9810
6.8MEDIUM
What is CVE-2025-9810?
A local file overwrite vulnerability exists in Linenoise due to a Time of Check to Time of Use (TOCTOU) race condition. This flaw allows local attackers to exploit symlink manipulation by performing a race between file creation (fopen with write access) and permission changes (chmod) on the same file path. Successfully exploiting this vulnerability can lead to unauthorized file modifications and permission escalation, making it crucial for users to implement security best practices and monitor for suspicious activities.
Affected Version(s)
linenoise 0
