Skip to main content
VulnerabilityPublished Updated

CVE-2026-5958: sed vulnerability

Affects sedSource GCVE Database

0
Compare
Authoritative record:CVE-2026-5958· Low 2.1

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

CVSS 4.0 base score
2.1Low
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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).

Affected software

ProductAffectedFixed in
Ubuntu Pro 20.04 LTSsedpkg:deb/ubuntu/sed?arch=source&distro=esm-infra/focalOther threatsAffected
  • <4.7-1ubuntu0.1~esm1
Fixed in
  • 4.7-1ubuntu0.1~esm1
Ubuntu Pro 18.04 LTSsedpkg:deb/ubuntu/sed?arch=source&distro=esm-infra/bionicOther threatsAffected
  • <4.4-2ubuntu0.1~esm1
Fixed in
  • 4.4-2ubuntu0.1~esm1

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.

References

Community reviews

Loading reviews…