VulnerabilityCVE-2026-5958
Race Condition in GNU Sed
Not on CISA KEVCVSS 2.1 (v4.0)
Summary
When sed is invoked with both -i (in-place edit) and --follow-symlinks, the function open_next_file() performs two separate, non-atomic filesystem operations on the same path: 1. resolves symlink to its target and stores the resolved path for determining when output is written, 2. opens the
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)
- Red Hat Source: Red Hat Security Data (CC BY 4.0)