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.
{
"cna_assigner": "CyberArk",
"cwe_ids": [
"CWE-367"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/9xxx/CVE-2025-9810.json"
}{
"extracted_events": [
{
"introduced": "0"
},
{
"last_affected": "0"
},
{
"range": [
{
"fixed": "f2558e1e588b1ba384ec73a2cf5c9a46409753db"
}
],
"source": "REFERENCES_COMMIT"
}
],
"source": "AFFECTED_FIELD"
}