CVE-2021-3548
publisheddmg2img: OOB in dmg2img.c memcpy() causing undefined behavior
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | dmg2imgdmg2img through 20170502 | Affected | Not stated | redhat |
Description
A flaw was found in dmg2img through 20170502. dmg2img did not validate the size of the read buffer during memcpy() inside the main() function. 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) | redhat · cna |
Weaknesses
1- CWE-125
References
1Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- c5c40b8dffc314e83f91df3bc863eceb8db1318d1f214b4698965101225e6c29
- Ingested
- 23 Sep 2026, 07:55:51 UTC
- Source record
- Official CVE record