CVE-2026-5958: sed vulnerability
Affects sedSource GCVE Database
Not known to be exploited · CVSS 2.1 Low · fixed in 4.4-2ubuntu0.1~esm1 : update sed when convenient.
Data as of 24 Nov 2026, 17:38 UTC
- Patch
- Available – fixed in 4.4-2ubuntu0.1~esm1, 4.7-1ubuntu0.1~esm1
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 20 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Upgrade the Ubuntu sed to 4.4-2ubuntu0.1~esm1 (package) or 4.7-1ubuntu0.1~esm1 (package).
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu Pro 20.04 LTSsedpkg:deb/ubuntu/sed?arch=source&distro=esm-infra/focalOther threats | Affected
| Fixed in
|
Ubuntu Pro 18.04 LTSsedpkg:deb/ubuntu/sed?arch=source&distro=esm-infra/bionicOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
The vulnerability is fixed in sed versions 4.4-2ubuntu0.1~esm1 for Ubuntu 18.04 LTS and 4.7-1ubuntu0.1~esm1 for Ubuntu 20.04 LTS. Users should apply the available updates via standard system update mechanisms or Ubuntu Pro to remediate the issue. No additional mitigation steps are required beyond applying these updates.
Description
A vulnerability in the GNU stream editor (sed) was discovered where it incorrectly handled symbolic links during in-place edits. This flaw could allow a local attacker to overwrite arbitrary files on the system. The issue affects certain versions of sed on Ubuntu 18.04 LTS and 20.04 LTS. Fixes have been released and are available through standard system updates and Ubuntu Pro.