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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | dmg2img | no fix listed | DEBIAN-CVE-2021-3548 |
| Debian:13 | dmg2img | no fix listed | DEBIAN-CVE-2021-3548 |
| Debian:14 | dmg2img | no fix listed | DEBIAN-CVE-2021-3548 |
| Ubuntu:22.04:LTS | dmg2img | no fix listed | UBUNTU-CVE-2021-3548 |
| Ubuntu:24.04:LTS | dmg2img | no fix listed | UBUNTU-CVE-2021-3548 |
| Ubuntu:25.10 | dmg2img | no fix listed | UBUNTU-CVE-2021-3548 |
| Ubuntu:26.04:LTS | dmg2img | no fix listed | UBUNTU-CVE-2021-3548 |
| Ubuntu:26.10 | dmg2img | no fix listed | UBUNTU-CVE-2021-3548 |
Affected products (as reported)
Weakness: CWE-125
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1959585 x_refsource_MISC