{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-9810","published":"2025-09-01T19:15:32.573000Z","last_modified":"2026-06-17T10:09:49.110000Z","status":"Modified","cvss":{"version":"3.1","score":5.8,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:L","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-367"],"cpes":[{"criteria":"cpe:2.3:a:antirez:linenoise:-:*:*:*:*:*:*:*","part":"a","vendor":"antirez","product":"linenoise"}],"cpes_truncated":false,"vendors":["antirez"],"products":["antirez/linenoise"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":35,"links":{"html_es":"/es/cve/CVE-2025-9810/","html_en":"/en/cve/CVE-2025-9810/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-9810","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-9810"},"untrusted":{"vendor_name":"Antirez","product_name":"Linenoise","desc_en":"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.","affected":[{"untrusted_vendor":"antirez","untrusted_product":"linenoise","versions":[]}],"references":[{"url":"https://github.com/antirez/linenoise/blob/master/linenoise.c#L1321","tags":["Product"]},{"url":"https://github.com/antirez/linenoise/pull/202","tags":["Issue Tracking","Third Party Advisory"]},{"url":"https://github.com/antirez/linenoise/blob/4111f1d6cd29e136b4e86a25d1dd859a1e00813b/linenoise.c#L1321","tags":[]},{"url":"https://github.com/antirez/linenoise/commit/f2558e1e588b1ba384ec73a2cf5c9a46409753db","tags":[]}]}}