CVE-2021-32614
publisheddmg2img: OOB read in memcpy() for up to 204 bytes in fill_mishblk()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | dmg2imgdmg2img through 20170502 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | dmg2img | dmg2img through 20170502 (affected) | fedora · cna |
Weaknesses
1- CWE-125
References
1Provider assertions
2fedora · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 91b47226ce46d7afb94cb9eb8864a6357dbe61106abc8baa5add66709acd5eb4
- Ingested
- 23 Sep 2026, 07:54:29 UTC
- Source record
- Official CVE record