CVE catalog

CVE-2021-3548

dmg2img: CVE-2021-3548

[CVE catalog]

Severity
Medium · CVSS 4.3CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.96% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiandmg2imgsid1.6.7+git20201227.a3e4134-0.1vulnerable
Debiandmg2imgforky1.6.7+git20201227.a3e4134-0.1vulnerable
Debiandmg2imgtrixie1.6.7+git20201227.a3e4134-0.1vulnerable
Debiandmg2imgbookworm1.6.7-1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiandmg2imgsourcesid(unfixed)unimportantNot reportedNot reported
Debiandmg2imgsourceforky(unfixed)unimportantNot reportedNot reported
Debiandmg2imgsourcetrixie(unfixed)unimportantNot reportedNot reported
Debiandmg2imgsourcebookworm(unfixed)unimportantNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [dmg2img]Affected

    Source package: [dmg2img]

    Details (2)
    • 1.6.7-1+b1 · arm64 · bookworm

      Affected

      dsa · dmg2img · debian · bookworm; dsa · dmg2img · debian · 12

    • 1.6.7-1+b2 · amd64 · bookworm

      Affected

      dsa · dmg2img · debian · bookworm; dsa · dmg2img · debian · 12

[Debian 13 (Trixie)]

  • [dmg2img]Affected
    Details (2)
    • 1.6.7+git20201227.a3e4134-0.1 · amd64 · trixie

      Affected

      dsa · dmg2img · debian · 13

    • 1.6.7+git20201227.a3e4134-0.1 · arm64 · trixie

      Affected

      dsa · dmg2img · debian · 13

Observed:

References