Out-of-bounds read in dmg2img
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · None · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | dmg2img | dmg2img through 20170502 | — | No fix listed | CNA |
- dmg2img Vendor— Affected dmg2img through 20170502 Fixed in — No fix listed CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:dmg2img_project:dmg2img:*:*:*:*:*:*:*:* | up to 20170502 | Vulnerable | Dmg2img Project |
- cpe:2.3:a:dmg2img_project:dmg2img:*:*:*:*:*:*:*:* Versions up to 20170502 Vulnerable ·Dmg2img Project
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2021-32614
- 2026-10-03 Alias added: GHSA-qw7r-wvwg-fj9h
References
More Dmg2img Project Dmg2img vulnerabilities
- TI-2021-02501 Out-of-bounds read in dmg2img CVSS 3.1HIGH 7.1
Sources
- CVE-2021-32614 · CVE Program
- CVE-2021-32614 · NVD
- FIRST EPSS
- GHSA-qw7r-wvwg-fj9h · GitHub Advisory Database · CC BY 4.0
- CVE-2021-32614 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences