{"id":"USN-8229-2","summary":"sed vulnerability","details":"USN-8229-1 fixed a vulnerability in sed. This update provides the\ncorresponding update for Ubuntu 18.04 LTS and Ubuntu 20.04 LTS.\n\nOriginal advisory details:\n\n Michał Majchrowicz and Marcin Wyczechowski discovered that sed\n incorrectly handled symbolic links when performing in-place edits.\n A local attacker could possibly use this issue to overwrite\n arbitrary files.","modified":"2026-05-29T10:59:19.228985104Z","published":"2026-05-28T18:34:13Z","related":["UBUNTU-CVE-2026-5958"],"upstream":["CVE-2026-5958","UBUNTU-CVE-2026-5958"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8229-2"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-5958"}],"affected":[{"package":{"name":"sed","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/sed?arch=source&distro=esm-infra%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.4-2ubuntu0.1~esm1"}]}],"versions":["4.4-1","4.4-2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"sed","binary_version":"4.4-2ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8229-2.json","cves_map":{"cves":[{"id":"CVE-2026-5958","severity":[{"type":"CVSS_V4","score":"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"},{"score":"medium","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:Pro:18.04:LTS"}}},{"package":{"name":"sed","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/sed?arch=source&distro=esm-infra%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.7-1ubuntu0.1~esm1"}]}],"versions":["4.7-1"],"ecosystem_specific":{"binaries":[{"binary_version":"4.7-1ubuntu0.1~esm1","binary_name":"sed"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8229-2.json","cves_map":{"ecosystem":"Ubuntu:Pro:20.04:LTS","cves":[{"id":"CVE-2026-5958","severity":[{"type":"CVSS_V4","score":"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"},{"score":"medium","type":"Ubuntu"}]}]}}}],"schema_version":"1.7.5"}