VDB

CVE-2021-3548

CVE-2021-3548 PUBLISHED

Reported by redhat · Published May 26, 2021

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
dmg2imgdmg2img_project20170502

Affected products

VendorProductVersions
n/admg2imgdmg2img through 20170502
n/admg2img*

Timeline

  • May 26, 2021 CVE Published
  • May 27, 2021 EPSS Score (30 in total, the first dated here)
  • Aug 3, 2024 CVE Updated
  • Apr 4, 2026 Security Advisory
  • Jul 29, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-3548
vulnetix vdb fixes CVE-2021-3548

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-3548/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

  • x_refsource_MISC
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›