CVE-2026-5958: sed vulnerability
Affects sedSource GCVE Database
Not known to be exploited · CVSS 2.1 Low · fixed in 4.8-1ubuntu2.1 : update sed when convenient.
Data as of 24 Nov 2026, 17:38 UTC
- Patch
- Available – fixed in 4.8-1ubuntu2.1, 4.9-2ubuntu0.24.04.1, 4.9-2ubuntu0.25.10.1 +1
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 to a fixed release listed under Affected software.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.04 LTSsedpkg:deb/ubuntu/sed?arch=source&distro=resoluteOther threats | Affected
| Fixed in
|
Ubuntu 25.10sedpkg:deb/ubuntu/sed?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSsedpkg:deb/ubuntu/sed?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSsedpkg:deb/ubuntu/sed?arch=source&distro=jammyOther 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
A fix is available and has been released in updated sed package versions for Ubuntu 22.04 LTS, 24.04 LTS, 25.10, and 26.04 LTS. Users should apply standard system updates to upgrade to the fixed versions: 4.8-1ubuntu2.1, 4.9-2ubuntu0.24.04.1, 4.9-2ubuntu0.25.10.1, or 4.9-2ubuntu1. No additional mitigation steps are required beyond applying these updates.
Description
A vulnerability in the sed utility 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 multiple Ubuntu sed package versions and has been addressed in updated package releases.