---
title: "CVE-2021-32614"
canonical_url: "https://pkgseek.com/security/CVE-2021-32614"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "high"
---

# CVE-2021-32614

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.

CVE-2021-32614 is rated HIGH (7.1), with 1 indexed affected package builds across 1 distributions.

- **Severity / Score**: HIGH (7.1)
- **Affected builds**: 1
- **Affected distros**: 1
- **Distros with fixed_in**: None recorded in sample

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | dmg2img | 1.6.7+git20201227.a3e4134-0.1 | — |
