CVE-2025-9810

MEDIUM EPSS 1.0%
Published Sep 1, 202510mo ago · Modified Jun 17, 20262w ago
5.8 CVSS 3.1
Medium
Find Similar
Published Sep 1, 2025 10mo ago
Last Modified Jun 17, 2026 2w ago

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.

CVSS Details

Base Score
5.8
Exploitability
1.0
Impact
4.7
Vector string
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:L
Attack Vector Local
Attack Complexity High
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality Low
Integrity High
Availability Low

Threat Intelligence

EPSS Exploit Probability
1.0% percentile
Exploit & Patch Status
No Known Exploit
No Patch Available

Weaknesses 1

CWE-367

Affected Products 1

VendorProductVersionRange
antirezlinenoise*any

References 4

  • github.com https://github.com/antirez/linenoise/blob/4111f1d6cd29e136b4e86a25d1dd859a1e00813b/linenoise.c#L1321
  • github.com https://github.com/antirez/linenoise/blob/master/linenoise.c#L1321
    Product
  • github.com https://github.com/antirez/linenoise/commit/f2558e1e588b1ba384ec73a2cf5c9a46409753db
  • github.com https://github.com/antirez/linenoise/pull/202
    Issue TrackingThird Party Advisory

Remediation

No remediation data recorded yet

Check vendor advisories and the NVD entry for patch availability.