CVE-2025-9810

MEDIUM

Antirez Linenoise - TOCTOU Race Condition

Title source: rule
STIX 2.1

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.

Scores

CVSS v3 6.8
EPSS 0.0001
EPSS Percentile 1.2%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-367
Status published
Products (2)
antirez/linenoise 1.0
antirez/linenoise (2 CPE variants)
Published Sep 01, 2025
Tracked Since Feb 18, 2026