CVE-2025-9810 - CVE House
Back to Database
Status published Medium CVE-2025-9810

TOCTOU race in Linenoise enables arbitrary file overwrite and permission changes

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-9810

Credits & Attribution

The following person or organization is credited with identifying this vulnerability, as recorded in the NVD database:

  • @disconnect3d
  • Simcha Kosman

Affected Vendor

Affected Software

linenoise
Vulnerable Versions:
0

Timeline

Official Publish: September 1st, 2025
Last Modified: April 22nd, 2026
Added to House: July 22nd, 2026

CVSS Vectors

V3: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L

Weaknesses (CWE)