# CVE-2019-20021: A heap-based buffer over-read was discovered in canUnpack in pmach.cpp in UPX 3.95 via a crafted Mach-O file.

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/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): 1.09%, higher than 65% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2019-12-27T01:11:17.000Z
- Modified: 2026-06-17T02:29:51.400Z
- Weaknesses: CWE-125
- Assigned by: mitre

## Description

A heap-based buffer over-read was discovered in canUnpack in p_mach.cpp in UPX 3.95 via a crafted Mach-O file.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- upx upx: 3.95
- fedoraproject fedora: 30; 31

## Every score

- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:N/A:P`

## References

- <https://github.com/upx/upx/issues/315> (exploit, issue-tracking, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/D7XU42G6MUQQXHWRP7DCF2JSIBOJ5GOO/> (vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2020-02/msg00003.html> (broken-link, vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2020-02/msg00007.html> (broken-link, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EUTVSTXAFTD552NO2K2RIF6MDQEHP3BE/> (vendor-advisory)

## Sources

- CVE List: [CVE-2019-20021](https://www.cve.org/CVERecord?id=CVE-2019-20021), CVE Terms of Use, modified 2024-08-05
- NVD: [CVE-2019-20021](https://nvd.nist.gov/vuln/detail/CVE-2019-20021), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-20021 · Whole record: https://cve.day/CVE-2019-20021.json · Rebuilt by cve.day 2026-11-25T22:57:49.064Z
