Vulnerability database / CVE-2025-9810
CVE-2025-9810
MEDIUM 5.8 CVSS 3.1 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.
Published 1 Sep 2025
Last modified 17 Jun 2026 Assigned by 96148269-fe82-4198-b1bf-3a73ce8bc92e NVD status Modified Weakness
CWE-367 Sources
NVD JSON Scores
Source Scored by Version Score Vector / decision
NVD
96148269-fe82-4198-b1bf-3a73ce8bc92e (Secondary)
CVSS 3.1
MEDIUM 6.8
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:LNVD
nvd@nist.gov (Primary)
CVSS 3.1
MEDIUM 5.8
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:L
Affected
Source Vendor / ecosystem Product / package Affected versions Fixed in
NVD
antirez
linenoisecpe:2.3:a:antirez:linenoise:-:*:*:*:*:*:*:*
(no version)
References
History
25 Nov 2026 20:58 UTC · NVD: first stored (published 1 Sep 2025)