{"id":"UBUNTU-CVE-2021-43313","details":"A heap-based buffer overflow was discovered in upx, during the variable 'bucket' points to an inaccessible address. The issue is being triggered in the function PackLinuxElf32::invert_pt_dynamic at p_lx_elf.cpp:1688.","modified":"2026-04-27T17:07:42.562840Z","published":"2023-03-24T20:15:00Z","upstream":["CVE-2021-43313"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-43313"},{"type":"REPORT","url":"https://github.com/upx/upx/issues/378"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-43313"}],"affected":[{"package":{"name":"upx-ucl","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/upx-ucl@3.91-1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.91-1"],"ecosystem_specific":{"binaries":[{"binary_name":"upx-ucl","binary_version":"3.91-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-43313.json"}},{"package":{"name":"upx-ucl","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/upx-ucl@3.94-4?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.94-2","3.94-3","3.94-4"],"ecosystem_specific":{"binaries":[{"binary_name":"upx-ucl","binary_version":"3.94-4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-43313.json"}},{"package":{"name":"upx-ucl","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/upx-ucl@3.95-2build1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.95-2","3.95-2build1"],"ecosystem_specific":{"binaries":[{"binary_name":"upx-ucl","binary_version":"3.95-2build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-43313.json"}},{"package":{"name":"upx-ucl","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/upx-ucl@3.96-3?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.96-2","3.96-3"],"ecosystem_specific":{"binaries":[{"binary_name":"upx-ucl","binary_version":"3.96-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-43313.json"}},{"package":{"name":"upx-ucl","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/upx-ucl@4.2.2-3?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.96-3","4.2.2-3"],"ecosystem_specific":{"binaries":[{"binary_name":"upx-ucl","binary_version":"4.2.2-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-43313.json"}},{"package":{"name":"upx-ucl","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/upx-ucl@4.2.4-1.1?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.2.4-1","4.2.4-1.1"],"ecosystem_specific":{"binaries":[{"binary_name":"upx-ucl","binary_version":"4.2.4-1.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-43313.json"}},{"package":{"name":"upx-ucl","ecosystem":"Ubuntu:26.04","purl":"pkg:deb/ubuntu/upx-ucl@4.2.4-1.1build1?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.2.4-1.1","4.2.4-1.1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"upx-ucl","binary_version":"4.2.4-1.1build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-43313.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}