{"schemaVersion":3,"id":"CVE-2025-2849","aliases":["MGASA-2025-0122","UBUNTU-CVE-2025-2849","DEBIAN-CVE-2025-2849","CGA-f9x5-9363-p6xg","CGA-g7hw-8g73-4f3v","openSUSE-SU-2025:14947-1"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2025-03-27T13:31:06.442Z","modified":"2025-03-27T14:11:39.541Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":4.8,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":3.3,"severity":"low","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"CVE.org","score":3.3,"severity":"low","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"CVE.org","score":1.7,"severity":"low","vector":"AV:L/AC:L/Au:S/C:N/I:N/A:P","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":4.8,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":4.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":4.6,"impact":6,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Wolfi","score":4.8,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Chainguard","score":4.8,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":4.8,"severity":"medium","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":1.7,"severity":"low","vector":"AV:L/AC:L/Au:S/C:N/I:N/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00304,"percentile":0.22016,"severity":"low","asOf":"2026-10-22T00:00:00.000Z","change":{"pp":0.006000000000000016,"baselineDate":"2026-09-22T00:00:00.000Z","baselineScore":0.00298},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00304,"percentile":0.22016}],"last30":[{"date":"2026-09-22T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00298,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00304,"percentile":0.22016}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_USER-ATTACHMENTS_FILES","name":"Files","source":"github","url":"https://github.com/user-attachments/files/16767988/ouch.crash.report.docx","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"GITHUB_UPX_UPX","name":"Upx","source":"github","url":"https://github.com/upx/upx/issues/206","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":2,"weaknesses":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer","description":"The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/119.html"},{"id":"CWE-122","name":"Heap-based Buffer Overflow","description":"A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/122.html"},{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"chainguard","product":"upx-doc","name":"upx-doc","label":"upx-doc","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/upx-doc","purlType":"apk","versions":[{"text":"< 5.0.1-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.0.1-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"upx-doc","name":"upx-doc","label":"upx-doc","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/upx-doc","purlType":"apk","versions":[{"text":"< 5.0.1-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.0.1-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"upx-ucl","name":"upx-ucl","label":"upx-ucl","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/upx-ucl","purlType":"deb","versions":[{"text":"< 4.2.4-1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.2.4-1.1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"upx-ucl","name":"upx-ucl","label":"upx-ucl","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/upx-ucl","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"mageia","product":"upx","name":"upx","label":"upx","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/upx","purlType":"rpm","versions":[{"text":"< 4.2.3-1.1.mga9","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.2.3-1.1.mga9","eol":null,"hubHref":null},{"vendor":"opensuse","product":"upx&distro=openSUSE Tumbleweed","name":"upx","label":"upx&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/upx&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 5.0.0-2.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.0.0-2.1","eol":null,"hubHref":null},{"vendor":"upx","product":"upx","name":"upx","label":"upx","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 5.0.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 5.0.0","eol":null,"hubHref":"/vendor/upx/upx"}],"affectedCount":7,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://vuldb.com/?id.301494","label":"vuldb.com?id.301494","hostname":"vuldb.com","tags":["VDB Entry","Technical Description","REPORT","Advisory","Third Party Advisory"]},{"url":"https://vuldb.com/?ctiid.301494","label":"vuldb.com?ctiid.301494","hostname":"vuldb.com","tags":["Signature","Permissions Required","REPORT","VDB Entry"]},{"url":"https://vuldb.com/?submit.522371","label":"vuldb.com?submit.522371","hostname":"vuldb.com","tags":["Third Party Advisory","REPORT","Advisory","VDB Entry"]},{"url":"https://github.com/upx/upx/issues/898","label":"github.com/upx/upx/issues/898","hostname":"github.com","tags":["Issue Tracking","REPORT","Exploit"]},{"url":"https://github.com/upx/upx/issues/898#issuecomment-2734082143","label":"github.com/upx/upx/issues/898","hostname":"github.com","tags":["Issue Tracking","REPORT","Exploit"]},{"url":"https://github.com/user-attachments/files/19307868/input.zip","label":"github.com/user-attachments/files/19307868/input.zip","hostname":"github.com","tags":["Exploit","REPORT","EVIDENCE","Product"]},{"url":"https://github.com/upx/upx/commit/e0b6ff192412f5bb5364c1948f4f6b27a0cd5ea2","label":"github.com/upx/upx/commit/e0b6ff192412f5bb5364c1948f4f6b27a0cd5ea2","hostname":"github.com","tags":["Patch","REPORT","FIX"]},{"url":"https://advisories.mageia.org/MGASA-2025-0122.html","label":"advisories.mageia.org/MGASA-2025-0122.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=34157","label":"bugs.mageia.org/show_bug.cgi?id=34157","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/message/4FBRFLGSEHNFULMPARVADU2TACHDQM4L/","label":"lists.opensuse.org/archives/…","hostname":"lists.opensuse.org","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2025-2849","label":"ubuntu.com/security/CVE-2025-2849","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-2849","label":"www.cve.org/CVERecord?id=CVE-2025-2849","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-2849","label":"security-tracker.debian.org/tracker/CVE-2025-2849","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/2xxx/CVE-2025-2849.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2025/2xxx/CVE-2025-2849.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-2849","label":"nvd.nist.gov/vuln/detail/CVE-2025-2849","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/4FBRFLGSEHNFULMPARVADU2TACHDQM4L/","label":"lists.opensuse.org/archives/…","hostname":"lists.opensuse.org","tags":["Advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2025-2849","label":"www.suse.com/security/cve/CVE-2025-2849","hostname":"www.suse.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-H7X3-XF5M-MCF4","CGA-P276-GW97-H996"]},"timeline":[{"kind":"published","date":"2025-03-27T13:31:06.442Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-03-27T14:11:39.541Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":32,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T15:35:51.664Z","stale":false,"partial":false}}