CVE-2025-9810

Source
https://cve.org/CVERecord?id=CVE-2025-9810
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-9810.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-9810
Published
2025-09-01T19:15:32.573Z
Modified
2026-04-10T05:37:53.160728Z
Severity
  • 5.8 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:L CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/antirez/linenoise

Affected ranges

Type
GIT
Repo
https://github.com/antirez/linenoise
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "1.0"
        }
    ]
}

Affected versions

1.*
1.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-9810.json"