CVE-2025-9810
Last modified
CVE-2025-9810 is a medium-severity vulnerability rated 5.8/10 on the CVSS scale. 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.. EPSS estimates a 0.10% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:L
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Antirez | Linenoise | All versions |
References
- https://github.com/antirez/linenoise/pull/202Issue Tracking, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2025-9810?
How severe is CVE-2025-9810?
How do I fix CVE-2025-9810?
Are you affected by CVE-2025-9810?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
