GHSA-9r7w-j29g-xqx8 · Severity: low — When sed is invoked with both -i (in-place edit) and --follow-symlinks, the function...
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 original symlink path (not the resolved one) to read the file. Between these two calls there is a race window. If an attacker atomically replaces the symlink with a different target during that window, sed will: read content from the new (attacker-chosen) symlink target and write the processed result to the path recorded in step 1. This can lead to arbitrary file overwrite with attacker-controlled content in the context of the sed process. This issue was fixed in version 4.10.
Conclusion & alert: CVE-2026-5958 is rated Low Risk (8.5/100): CVSS Low severity, with low exploitation likelihood (EPSS 0.00%). Mandatory action: Low composite risk—no urgent action required; patch on your normal maintenance cycle and revisit priority if CVSS or EPSS increases.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-04-21 | — | 0.00% | — |
Full EPSS history (1 record total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 2.1 | 4.0 | LOW |
|
— | — | [email protected] |
GHSA-9r7w-j29g-xqx8 · Severity: low — When sed is invoked with both -i (in-place edit) and --follow-symlinks, the function...
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2026-5958 not yet assigned priority: Debian including 1 source packages (sed), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 4, open 1. | https://security-tracker.debian.org/tracker/CVE-2026-5958 |
suse
|
medium | CVE-2026-5958 severity moderate: SUSE including 2 source package names (sed-4.4-150300.13.6.1, sed-lang-4.4-150300.13.6.1), 6 product×package rows across 5 product lines (SUSE Linux Enterprise Micro 5.2, SUSE Linux Enterprise Micro 5.3, … (5 product lines)): First Fixed 6. | https://www.suse.com/security/cve/CVE-2026-5958/ |
ubuntu
|
medium | CVE-2026-5958 medium priority: Ubuntu including 1 source packages (sed), 9 status rows across 9 suites (bionic, focal, jammy, noble, questing, resolute, trusty, upstream, xenial): needs-triage 5, released 4. | https://ubuntu.com/security/CVE-2026-5958 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| No affected products in dataset. | |||