Vulnerability · Published May 26, 2021 · Assigned by redhat

CVE-2021-3548

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

Affected packages & fixed versions

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

Affected products (as reported)

VendorProductVersions
n/a dmg2img dmg2img through 20170502

Weakness: CWE-125

References