{"id":"DHI-ix43-khzb-2erg-xetm","summary":"TOCTOU  in linenoiseHistorySave in linenoise allows local attackers to overwrite arbitrary files and change…","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.","modified":"2026-11-16T02:35:35.417008786Z","published":"2026-11-11T19:20:17Z","upstream":["CVE-2025-9810"],"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-ix43-khzb-2erg-xetm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-9810"},{"type":"ADVISORY","url":"https://github.com/antirez/linenoise/pull/202"},{"type":"WEB","url":"https://github.com/antirez/linenoise/blob/master/linenoise.c#L1321"},{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2025-9810"},{"type":"ADVISORY","url":"https://alas.aws.amazon.com/AL2023/ALAS-2025-1195.html"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-9810"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2025-9810"},{"type":"FIX","url":"https://www.cve.org/CVERecord?id=CVE-2025-9810"}],"affected":[{"package":{"name":"linenoise","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/linenoise"},"versions":["1.0-r5"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-ix43-khzb-2erg-xetm.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L"}]}