# CVE-2021-32614: A flaw was found in dmg2img through 20170502.

- Severity: High 7.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/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.96%, higher than 62% of CVEs (2026-12-01)
- Published: 2021-05-26T21:42:35.000Z
- Modified: 2026-06-17T03:53:16.510Z
- Weaknesses: CWE-125
- Assigned by: fedora

## Description

A flaw was found in dmg2img through 20170502. fill_mishblk() does not check the length of the read buffer, and copy 0xCC bytes from it. The length of the buffer is controlled by an attacker. By providing a length smaller than 0xCC, memcpy reaches out of the malloc'ed bound. This possibly leads to memory layout information leaking in the data. This might be used in a chain of vulnerability in order to reach code execution.

(As written by CVE List.)

## Affected

- dmg2img: dmg2img through 20170502
- dmg2img_project dmg2img: up to 20170502

## Every score

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

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=1959911> (issue-tracking, third-party-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2021-32614 · Whole record: https://cve.day/CVE-2021-32614.json · Rebuilt by cve.day 2026-11-25T22:58:01.555Z
