CVE catalog

CVE-2021-32614

dmg2img: CVE-2021-32614

[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. fill_mishblk() does not check the length of the read buffer, and copy 0xCC bytes from it. The length of the buffer is controlled by an attacker. By providing a length smaller than 0xCC, memcpy reaches out of the malloc'ed bound. 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 reported[989008]
Debiandmg2imgsourceforky(unfixed)unimportantNot reported[989008]
Debiandmg2imgsourcetrixie(unfixed)unimportantNot reported[989008]
Debiandmg2imgsourcebookworm(unfixed)unimportantNot reported[989008]

[Debian bug #989008]

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