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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:antirez:linenoise:-:*:*:*:*:*:*:*

History

22 Apr 2026, 16:16

Type Values Removed Values Added
References
  • () https://github.com/antirez/linenoise/blob/4111f1d6cd29e136b4e86a25d1dd859a1e00813b/linenoise.c#L1321 -
  • () https://github.com/antirez/linenoise/commit/f2558e1e588b1ba384ec73a2cf5c9a46409753db -

31 Mar 2026, 20:00

Type Values Removed Values Added
CPE cpe:2.3:a:antirez:linenoise:1.0:*:*:*:*:*:*:* cpe:2.3:a:antirez:linenoise:-:*:*:*:*:*:*:*

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 - () https://github.com/antirez/linenoise/blob/master/linenoise.c#L1321 - Product
References () https://github.com/antirez/linenoise/pull/202 - () 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 : 2026-04-22 16:16


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