CVEvulnerability

CVE-2025-9810

5.8 MEDIUM Published 2025-09-01 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2025-09-01
Last modified
2026-06-17
Assigner
96148269-fe82-4198-b1bf-3a73ce8bc92e
CVSS 3.1 (96148269-fe82-4198-b1bf-3a73ce8bc92e)
6.8 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L
CVSS 3.1 ([email protected])
5.8 MEDIUM — CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:L
Weaknesses
CWE-367

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.

Affected configurations

• antirez linenoise

Related

Weakness · CWE (1)

  • CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition weakness

References