StackPatch is liveSee product

Back to CVE digest
Ubuntu USN · USN-8229-1

sed vulnerability

Published: Mon, 04 May 2026 12:24

CVE-2026-5958

Summary

sed could be made to overwrite files.

Details

Michał Majchrowicz and Marcin Wyczechowski discovered that sed incorrectly handled symbolic links when performing in-place edits. A local attacker could possibly use this issue to overwrite arbitrary files.

Recommended actions per Ubuntu release

StackPatch playbook auto-generated per release codename and per affected package.

Ubuntu jammy

  • sed4.8-1ubuntu2.1apt_upgrade

    Standard apt upgrade. Install 4.8-1ubuntu2.1 from the apt repo.

    sudo apt-get update
    sudo apt-get install --only-upgrade -y sed

    Most apt upgrades restart their service automatically. needrestart lists anything else.

  • sed4.8-1ubuntu2.1apt_upgrade

    Standard apt upgrade. Install 4.8-1ubuntu2.1 from the apt repo.

    sudo apt-get update
    sudo apt-get install --only-upgrade -y sed

    Most apt upgrades restart their service automatically. needrestart lists anything else.

Ubuntu noble

  • sed4.9-2ubuntu0.24.04.1apt_upgrade

    Standard apt upgrade. Install 4.9-2ubuntu0.24.04.1 from the apt repo.

    sudo apt-get update
    sudo apt-get install --only-upgrade -y sed

    Most apt upgrades restart their service automatically. needrestart lists anything else.

  • sed4.9-2ubuntu0.24.04.1apt_upgrade

    Standard apt upgrade. Install 4.9-2ubuntu0.24.04.1 from the apt repo.

    sudo apt-get update
    sudo apt-get install --only-upgrade -y sed

    Most apt upgrades restart their service automatically. needrestart lists anything else.

Ubuntu questing

  • sed4.9-2ubuntu0.25.10.1apt_upgrade

    Standard apt upgrade. Install 4.9-2ubuntu0.25.10.1 from the apt repo.

    sudo apt-get update
    sudo apt-get install --only-upgrade -y sed

    Most apt upgrades restart their service automatically. needrestart lists anything else.

  • sed4.9-2ubuntu0.25.10.1apt_upgrade

    Standard apt upgrade. Install 4.9-2ubuntu0.25.10.1 from the apt repo.

    sudo apt-get update
    sudo apt-get install --only-upgrade -y sed

    Most apt upgrades restart their service automatically. needrestart lists anything else.

Ubuntu resolute

  • sed4.9-2ubuntu1apt_upgrade

    Standard apt upgrade. Install 4.9-2ubuntu1 from the apt repo.

    sudo apt-get update
    sudo apt-get install --only-upgrade -y sed

    Most apt upgrades restart their service automatically. needrestart lists anything else.

  • sed4.9-2ubuntu1apt_upgrade

    Standard apt upgrade. Install 4.9-2ubuntu1 from the apt repo.

    sudo apt-get update
    sudo apt-get install --only-upgrade -y sed

    Most apt upgrades restart their service automatically. needrestart lists anything else.

Are YOU affected by USN-8229-1?

5-second check on your actual server. Reads /etc/os-release, uname -r, and dpkg-query; matches against the live USN + Debian Security Tracker feeds; tells you whether USN-8229-1 (and any other live CVE) applies. Anonymous, no signup.

curl https://mindsparkstack.com/scan.sh | bash
Want this automated for your servers?

StackPatch runs this match against YOUR installed packages every hour

Free 1-server / $99 lifetime founder seat (50 only) / $19+/mo monthly. Indie pricing.