Skip to content
CVE PROGRAM SOURCE RECORD6.8 Medium

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

antirez linenoise

Default version status: affected

  • 0affected

References