# CVE-2021-43313: A heap-based buffer overflow was discovered in upx, during the variable 'bucket' points to an inaccessible address.

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.82%, higher than 58% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-03-24T00:00:00.000Z
- Modified: 2026-06-17T04:10:50.290Z
- Weaknesses: CWE-119, CWE-787
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: fedora

## Description

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.

(As written by CVE List.)

## Affected

- upx: upx before 4.0.0-git-c6b9e3c62d15
- upx upx: before 4.0.0

## References

- <https://github.com/upx/upx/issues/378> (exploit, issue-tracking, patch)

## Sources

- CVE List: [CVE-2021-43313](https://www.cve.org/CVERecord?id=CVE-2021-43313), CVE Terms of Use, modified 2025-02-25
- NVD: [CVE-2021-43313](https://nvd.nist.gov/vuln/detail/CVE-2021-43313), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-43313 · Whole record: https://cve.day/CVE-2021-43313.json · Rebuilt by cve.day 2026-11-25T22:24:37.145Z
