antirez linenoise linenoiseHistorySave toctou

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
5.4$0-$5k0.00

Summaryinfo

A vulnerability marked as problematic has been reported in antirez linenoise. This affects the function linenoiseHistorySave. Performing a manipulation results in toctou. This vulnerability is reported as CVE-2025-9810. The attack requires a local approach. No exploit exists. It is suggested to install a patch to address this issue.

Detailsinfo

A vulnerability classified as problematic has been found in antirez linenoise (the affected version is unknown). This affects the function linenoiseHistorySave. The manipulation with an unknown input leads to a toctou vulnerability. CWE is classifying the issue as CWE-367. The product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check. This can cause the product to perform invalid actions when the resource is in an unexpected state. This is going to have an impact on integrity, and availability. The summary by CVE is:

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.

The weakness was disclosed by @disconnect3d and Simcha Kosman. The advisory is shared at github.com. This vulnerability is uniquely identified as CVE-2025-9810 since 09/01/2025. The exploitability is told to be difficult. An attack has to be approached locally. Technical details are known, but no exploit is available.

The vulnerability scanner Nessus provides a plugin with the ID 261459 (Linux Distros Unpatched Vulnerability : CVE-2025-9810), which helps to determine the existence of the flaw in a target environment.

Applying a patch is able to eliminate this problem. The bugfix is ready for download at github.com.

The vulnerability is also documented in the databases at Tenable (261459) and EUVD (EUVD-2025-26353). Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Productinfo

Vendor

Name

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.4
VulDB Meta Temp Score: 5.4

VulDB Base Score: 3.6
VulDB Temp Score: 3.5
VulDB Vector: 🔒
VulDB Reliability: 🔍

NVD Base Score: 5.8
NVD Vector: 🔒

CNA Base Score: 6.8
CNA Vector (CyberArk): 🔒

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Toctou
CWE: CWE-367 / CWE-362
CAPEC: 🔒
ATT&CK: 🔒

Physical: Partially
Local: Yes
Remote: No

Availability: 🔒
Status: Not defined

EPSS Score: 🔒
EPSS Percentile: 🔒

Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 261459
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2025-9810

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔒

Patch: github.com

Timelineinfo

09/01/2025 Advisory disclosed
09/01/2025 +0 days CVE reserved
09/01/2025 +0 days VulDB entry created
12/08/2025 +98 days VulDB entry last update

Sourcesinfo

Product: github.com

Advisory: github.com
Researcher: @disconnect3d, Simcha Kosman
Status: Confirmed

CVE: CVE-2025-9810 (🔒)
GCVE (CVE): GCVE-0-2025-9810
GCVE (VulDB): GCVE-100-322137
EUVD: 🔒

Entryinfo

Created: 09/01/2025 22:59
Updated: 12/08/2025 16:53
Changes: 09/01/2025 22:59 (63), 09/01/2025 23:28 (1), 09/06/2025 00:19 (2), 12/08/2025 16:53 (11)
Complete: 🔍
Cache ID: 216::103

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!