CVE-2025-9810

MEDIUM CVSS 3.1: 5.8 EPSS 0.11%
Updated Mar 31, 2026
Antirez
Parameter Value
CVSS 5.8 (MEDIUM)
Type CWE-367 (Time-of-check Time-of-use (TOCTOU))
Vendor Antirez
Public PoC No

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.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
High
Difficult to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
High
Complete data modification
Availability
Low
Partial disruption

CVSS Vector v3.1

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Antirez Linenoise
cpe:2.3:a:antirez:linenoise:-:*:*:*:*:*:*:*
— —