[USN-8229-2] sed vulnerability

noreply+usn-bot at canonical.com noreply+usn-bot at canonical.com
Thu May 28 20:33:10 UTC 2026


==========================================================================
Ubuntu Security Notice USN-8229-2
May 28, 2026

sed vulnerability
==========================================================================

A security issue affects these releases of Ubuntu and its derivatives:

- Ubuntu 20.04 LTS
- Ubuntu 18.04 LTS

Summary:

sed could be made to overwrite files.

Software Description:
- sed: GNU stream editor for filtering/transforming text

Details:

USN-8229-1 fixed a vulnerability in sed. This update provides the
corresponding update for Ubuntu 18.04 LTS and Ubuntu 20.04 LTS.

Original advisory 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 20.04 LTS
  sed                             4.7-1ubuntu0.1~esm1
                                  Available with Ubuntu Pro

Ubuntu 18.04 LTS
  sed                             4.4-2ubuntu0.1~esm1
                                  Available with Ubuntu Pro

In general, a standard system update will make all the necessary changes.

References:
  https://ubuntu.com/security/notices/USN-8229-2
  https://ubuntu.com/security/notices/USN-8229-1
  CVE-2026-5958
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-security-announce/attachments/20260528/d662b03c/attachment.sig>


More information about the ubuntu-security-announce mailing list