MTIby Motiontic
Colour theme
VulnerabilityCVE-2025-9810

TOCTOU race in Linenoise enables arbitrary file overwrite and permission changes

Not on CISA KEV
  • Overview

Summary

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.

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • CVE List Source: CVE Program (cve.org)