Home / mailings [USN-8229-1] sed vulnerability
Posted on 04 May 2026
Ubuntu Security==========================================================================Ubuntu Security Notice USN-8229-1
May 04, 2026
sed vulnerability
==========================================================================
A security issue affects these releases of Ubuntu and its derivatives:
- Ubuntu 26.04 LTS
- Ubuntu 25.10
- Ubuntu 24.04 LTS
- Ubuntu 22.04 LTS
Summary:
sed could be made to overwrite files.
Software Description:
- sed: GNU stream editor for filtering/transforming text
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.
Update instructions:
The problem can be corrected by updating your system to the following
package versions:
Ubuntu 26.04 LTS
sed 4.9-2ubuntu1
Ubuntu 25.10
sed 4.9-2ubuntu0.25.10.1
Ubuntu 24.04 LTS
sed 4.9-2ubuntu0.24.04.1
Ubuntu 22.04 LTS
sed 4.8-1ubuntu2.1
In general, a standard system update will make all the necessary changes.
References:
https://ubuntu.com/security/notices/USN-8229-1
CVE-2026-5958
Package Information:
https://launchpad.net/ubuntu/+source/sed/4.9-2ubuntu1
https://launchpad.net/ubuntu/+source/sed/4.9-2ubuntu0.25.10.1
https://launchpad.net/ubuntu/+source/sed/4.9-2ubuntu0.24.04.1
https://launchpad.net/ubuntu/+source/sed/4.8-1ubuntu2.1
--===============5036276199551621631==Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
