CVE 6.8 MEDIUM

TOCTOU race in Linenoise enables arbitrary file overwrite and permission changes_CVE-2025-9810

6.8 / 10
MEDIUM
CVSS: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.

Basic Information

ID CVE-2025-9810
Source CyberArk
Published Sep 1, 2025 at 19:03

Affected Product

Vendor antirez
Product linenoise
Affected Versions antirez linenoise 0

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.