CVE-2021-3548

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.

Published: 2021-05-26 Last update: 2024-11-21 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2021-3548 is rated Moderate Risk (46.7/100): CVSS High severity, with medium exploitation likelihood (EPSS 0.29%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2021-3548

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-04-29 0.19% 0.29% +0.10%
2 2026-01-31 0.33% 0.19% -0.13%
3 2025-03-30 0.33%

Full EPSS history (10 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2021-3548

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.1 3.1 HIGH
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
1.8 5.2 [email protected]
5.8 2.0 MEDIUM
AV:N/AC:M/Au:N/C:P/I:N/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:M)
Exploitation needs some favorable conditions, but not exceptional ones.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:N)
No integrity impact.
Availability impact (A:P)
Partial availability impact.
8.6 4.9 [email protected]

Weakness enumeration for CVE-2021-3548

OS Trackers for CVE-2021-3548

vendor priority summary link
alpine high CVE-2021-3548: 1 source package rows (dmg2img); 5 state rows across 5 repos (3.19-community, 3.20-community, 3.22-community, 3.23-community, edge-community); fixed 0, open 5. https://security.alpinelinux.org/vuln/CVE-2021-3548
debian unimportant CVE-2021-3548 unimportant priority: Debian including 1 source packages (dmg2img), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): open 5. https://security-tracker.debian.org/tracker/CVE-2021-3548
ubuntu low CVE-2021-3548 low priority: Ubuntu including 1 source packages (dmg2img), 16 status rows across 16 suites (bionic, focal, groovy, hirsute, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): ignored 8, needed 6, DNE 1, needs-triage 1. https://ubuntu.com/security/CVE-2021-3548

Affected software / configurations for CVE-2021-3548

Vendor Product Version Raw CPE
dmg2img_project dmg2img <= 20170502 cpe:2.3:a:dmg2img_project:dmg2img:*:*:*:*:*:*:*:*

References for CVE-2021-3548

URL Tags
https://bugzilla.redhat.com/show_bug.cgi?id=1959585 Issue Tracking Third Party Advisory
cvelogic Threat Intelligence