{"id":"USN-8945-1","summary":"xz-utils vulnerability","details":"It was discovered that XZ Utils incorrectly handled certain memory\nallocation failures when reinitializing decoders for specific compressed\nfile formats. An attacker could possibly use this issue to trigger an\ninvalid memory write, resulting in a denial of service or arbitrary code\nexecution.","modified":"2026-10-21T04:30:02.862564501Z","published":"2026-10-20T17:45:10Z","references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8945-1"},{"type":"REPORT","url":"https://bugs.launchpad.net/bugs/2170056"}],"affected":[{"package":{"name":"xz-utils","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/xz-utils?arch=source&distro=esm-infra-legacy%2Ftrusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.1.1alpha+20120614-2ubuntu2.14.04.1+esm3"}]}],"versions":["5.1.1alpha+20120614-2ubuntu1","5.1.1alpha+20120614-2ubuntu2","5.1.1alpha+20120614-2ubuntu2.14.04.1+esm1","5.1.1alpha+20120614-2ubuntu2.14.04.1+esm2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro","binaries":[{"binary_name":"liblzma5","binary_version":"5.1.1alpha+20120614-2ubuntu2.14.04.1+esm3"},{"binary_version":"5.1.1alpha+20120614-2ubuntu2.14.04.1+esm3","binary_name":"xz-utils"},{"binary_name":"xzdec","binary_version":"5.1.1alpha+20120614-2ubuntu2.14.04.1+esm3"}]},"database_specific":{"cves_map":{"cves":[],"ecosystem":"Ubuntu:Pro:14.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8945-1.json"}},{"package":{"name":"xz-utils","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/xz-utils?arch=source&distro=esm-infra-legacy%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.1.1alpha+20120614-2ubuntu2.16.04.1+esm3"}]}],"versions":["5.1.1alpha+20120614-2ubuntu2","5.1.1alpha+20120614-2ubuntu2.16.04.1+esm1","5.1.1alpha+20120614-2ubuntu2.16.04.1+esm2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro","binaries":[{"binary_name":"liblzma5","binary_version":"5.1.1alpha+20120614-2ubuntu2.16.04.1+esm3"},{"binary_name":"xz-utils","binary_version":"5.1.1alpha+20120614-2ubuntu2.16.04.1+esm3"},{"binary_version":"5.1.1alpha+20120614-2ubuntu2.16.04.1+esm3","binary_name":"xzdec"}]},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:16.04:LTS","cves":[]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8945-1.json"}},{"package":{"name":"xz-utils","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/xz-utils?arch=source&distro=esm-infra%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.2.2-1.3ubuntu0.1+esm2"}]}],"versions":["5.2.2-1.3","5.2.2-1.3ubuntu0.1","5.2.2-1.3ubuntu0.1+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"liblzma5","binary_version":"5.2.2-1.3ubuntu0.1+esm2"},{"binary_name":"xz-utils","binary_version":"5.2.2-1.3ubuntu0.1+esm2"},{"binary_version":"5.2.2-1.3ubuntu0.1+esm2","binary_name":"xzdec"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:18.04:LTS","cves":[]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8945-1.json"}},{"package":{"name":"xz-utils","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/xz-utils?arch=source&distro=esm-infra%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.2.4-1ubuntu1.1+esm2"}]}],"versions":["5.2.4-1","5.2.4-1ubuntu1","5.2.4-1ubuntu1.1","5.2.4-1ubuntu1.1+esm1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_version":"5.2.4-1ubuntu1.1+esm2","binary_name":"liblzma5"},{"binary_name":"xz-utils","binary_version":"5.2.4-1ubuntu1.1+esm2"},{"binary_version":"5.2.4-1ubuntu1.1+esm2","binary_name":"xzdec"}]},"database_specific":{"cves_map":{"cves":[],"ecosystem":"Ubuntu:Pro:20.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8945-1.json"}},{"package":{"name":"xz-utils","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/xz-utils?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.2.5-2ubuntu1.2"}]}],"versions":["5.2.5-2","5.2.5-2build1","5.2.5-2build2","5.2.5-2ubuntu1","5.2.5-2ubuntu1.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"liblzma5","binary_version":"5.2.5-2ubuntu1.2"},{"binary_version":"5.2.5-2ubuntu1.2","binary_name":"xz-utils"},{"binary_name":"xzdec","binary_version":"5.2.5-2ubuntu1.2"}]},"database_specific":{"cves_map":{"cves":[],"ecosystem":"Ubuntu:22.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8945-1.json"}},{"package":{"name":"xz-utils","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/xz-utils?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.6.1+really5.4.5-1ubuntu0.4"}]}],"versions":["5.4.1-0.2","5.4.4-0.1","5.4.5-0.1","5.4.5-0.3","5.6.0-0.2","5.6.1+really5.4.5-1","5.6.1+really5.4.5-1build0.1","5.6.1+really5.4.5-1ubuntu0.2","5.6.1+really5.4.5-1ubuntu0.3"],"ecosystem_specific":{"binaries":[{"binary_version":"5.6.1+really5.4.5-1ubuntu0.4","binary_name":"liblzma5"},{"binary_name":"xz-utils","binary_version":"5.6.1+really5.4.5-1ubuntu0.4"},{"binary_version":"5.6.1+really5.4.5-1ubuntu0.4","binary_name":"xzdec"}],"availability":"No subscription required"},"database_specific":{"cves_map":{"cves":[],"ecosystem":"Ubuntu:24.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8945-1.json"}},{"package":{"name":"xz-utils","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/xz-utils?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.8.3-1ubuntu1"}]}],"versions":["5.8.3-1"],"ecosystem_specific":{"binaries":[{"binary_name":"liblzma5","binary_version":"5.8.3-1ubuntu1"},{"binary_name":"xz-utils","binary_version":"5.8.3-1ubuntu1"},{"binary_name":"xzdec","binary_version":"5.8.3-1ubuntu1"}],"availability":"No subscription required"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:26.10","cves":[]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8945-1.json"}},{"package":{"name":"xz-utils","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/xz-utils?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.8.3-1ubuntu0.1"}]}],"versions":["5.8.1-1build2","5.8.1-2","5.8.2-1","5.8.2-2","5.8.3-1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"liblzma5","binary_version":"5.8.3-1ubuntu0.1"},{"binary_version":"5.8.3-1ubuntu0.1","binary_name":"xz-utils"},{"binary_name":"xzdec","binary_version":"5.8.3-1ubuntu0.1"}]},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:26.04:LTS","cves":[]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8945-1.json"}}],"schema_version":"1.9.0"}