Vulnerability · Published May 26, 2021 · Assigned by fedora

CVE-2021-32614

High 7.1

In plain English

A high-severity out-of-bounds read in dmg2img. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 62% of all known vulnerabilities).

Severity (CVSS NVD)7.1High
Exploit odds (30 days)1.0%top 38.2% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12dmg2imgno fix listedDEBIAN-CVE-2021-32614
Debian:13dmg2imgno fix listedDEBIAN-CVE-2021-32614
Debian:14dmg2imgno fix listedDEBIAN-CVE-2021-32614
Ubuntu:22.04:LTSdmg2imgno fix listedUBUNTU-CVE-2021-32614
Ubuntu:24.04:LTSdmg2imgno fix listedUBUNTU-CVE-2021-32614
Ubuntu:25.10dmg2imgno fix listedUBUNTU-CVE-2021-32614
Ubuntu:26.04:LTSdmg2imgno fix listedUBUNTU-CVE-2021-32614
Ubuntu:26.10dmg2imgno fix listedUBUNTU-CVE-2021-32614

Affected products (as reported)

VendorProductVersions
n/a dmg2img dmg2img through 20170502

Weakness: CWE-125

References