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.
References
| Link | Resource |
|---|---|
| https://github.com/antirez/linenoise/blob/master/linenoise.c#L1321 | Product |
| https://github.com/antirez/linenoise/pull/202 | Issue Tracking Third Party Advisory |
Configurations
History
08 Dec 2025, 15:27
| Type | Values Removed | Values Added |
|---|---|---|
| First Time |
Antirez
Antirez linenoise |
|
| CPE | cpe:2.3:a:antirez:linenoise:1.0:*:*:*:*:*:*:* | |
| References | () https://github.com/antirez/linenoise/blob/master/linenoise.c#L1321 - Product | |
| References | () https://github.com/antirez/linenoise/pull/202 - Issue Tracking, Third Party Advisory |
01 Sep 2025, 19:15
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2025-09-01 19:15
Updated : 2025-12-08 15:27
NVD link : CVE-2025-9810
Mitre link : CVE-2025-9810
CVE.ORG link : CVE-2025-9810
JSON object : View
Products Affected
antirez
- linenoise
CWE
CWE-367
Time-of-check Time-of-use (TOCTOU) Race Condition
