{"id":"UBUNTU-CVE-2025-2849","details":"A vulnerability, which was classified as problematic, was found in UPX up to 5.0.0. Affected is the function PackLinuxElf64::un_DT_INIT of the file src/p_lx_elf.cpp. The manipulation leads to heap-based buffer overflow. It is possible to launch the attack on the local host. The exploit has been disclosed to the public and may be used. The patch is identified as e0b6ff192412f5bb5364c1948f4f6b27a0cd5ea2. It is recommended to apply a patch to fix this issue.","modified":"2026-05-20T16:21:01.604071275Z","published":"2025-03-27T14:15:00Z","upstream":["CVE-2025-2849"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-2849"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-2849"},{"type":"REPORT","url":"https://github.com/upx/upx/issues/898"},{"type":"REPORT","url":"https://github.com/upx/upx/commit/e0b6ff192412f5bb5364c1948f4f6b27a0cd5ea2"},{"type":"REPORT","url":"https://github.com/upx/upx/issues/898#issuecomment-2734082143"},{"type":"REPORT","url":"https://github.com/user-attachments/files/19307868/input.zip"},{"type":"REPORT","url":"https://vuldb.com/?ctiid.301494"},{"type":"REPORT","url":"https://vuldb.com/?id.301494"},{"type":"REPORT","url":"https://vuldb.com/?submit.522371"}],"affected":[{"package":{"name":"upx-ucl","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/upx-ucl?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.91-1"],"ecosystem_specific":{"binaries":[{"binary_version":"3.91-1","binary_name":"upx-ucl"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-2849.json"}},{"package":{"name":"upx-ucl","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/upx-ucl?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/2025/UBUNTU-CVE-2025-2849.json"}},{"package":{"name":"upx-ucl","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/upx-ucl?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.95-2","3.95-2build1"],"ecosystem_specific":{"binaries":[{"binary_version":"3.95-2build1","binary_name":"upx-ucl"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-2849.json"}},{"package":{"name":"upx-ucl","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/upx-ucl?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/2025/UBUNTU-CVE-2025-2849.json"}},{"package":{"name":"upx-ucl","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/upx-ucl?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/2025/UBUNTU-CVE-2025-2849.json"}},{"package":{"name":"upx-ucl","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/upx-ucl?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/2025/UBUNTU-CVE-2025-2849.json"}},{"package":{"name":"upx-ucl","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/upx-ucl?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/2025/UBUNTU-CVE-2025-2849.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"},{"type":"Ubuntu","score":"medium"}]}