Vulnerability in Antirez Linenoise
CVE-2025-9810
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.
Vulnerability class: TOCTOU (Time-of-Check to Time-of-Use)
EPSS: 0.001 (0.9th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.8 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L.
Affected products
- Antirez Linenoise — versions 0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- 96148269-fe82-4198-b1bf-3a73ce8bc92e (Product)
- 96148269-fe82-4198-b1bf-3a73ce8bc92e (Third Party Advisory, Issue Tracking)
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
Frequently asked questions
- What is CVE-2025-9810?
- CVE-2025-9810 is a medium-severity vulnerability in Antirez Linenoise, classified under Time-of-check Time-of-use (TOCTOU) Race Condition. CVSS score: 6.8/10. Published 2025-09-01.
- How severe is CVE-2025-9810?
- Medium severity. CVSS v3 base score is 6.8 out of 10.
- Is CVE-2025-9810 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.