VULNERABILITY INTELLIGENCE

CVE-2025-9810

CVSS score6.8 MEDIUM
EPSS probability0.11%
CISA KEVNot currently listed
Published2025-09-01
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L

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.

Weakness classification

  • 96148269-fe82-4198-b1bf-3a73ce8bc92e: CWE-367

Primary references