CVE-2025-9810

MEDIUMCVSS 5.8/10EPSS 0.10%

Last modified

CVE-2025-9810 is a medium-severity vulnerability rated 5.8/10 on the CVSS scale. 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.. EPSS estimates a 0.10% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
5.8/10

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:L

EPSS Probability
0.10%

1.0th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
AntirezLinenoiseAll versions

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2025-9810?
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.
How severe is CVE-2025-9810?
CVE-2025-9810 has a CVSS score of 5.8/10 (MEDIUM severity). The EPSS model estimates a 0.10% probability of exploitation in the next 30 days.
How do I fix CVE-2025-9810?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2025-9810?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST