Skip to content
Unrated

TOCTOU race in Linenoise enables arbitrary file overwrite and permission changes

CVE-2025-9810 First seen on SecPulse
Original description The description as published by the source.

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.

Source: OSV.dev (Open Source Vulnerabilities) NVD OSV

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details