Every CVE Search/ Get API key

CVE-2021-32614

A flaw was found in dmg2img through 20170502. fill_mishblk() does not check the length of the...

7.1 High

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
None
Availability
High

Exploit likelihood

0.96%Up 0.2 points since May 27, 2021
90%50%10%1%

What each source reports

NVD Score used 7.1

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.

Record
CVE-2021-32614
CVSS 3.1
7.1 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
CVSS 2.0
5.8 MediumAV:N/AC:M/Au:N/C:P/I:N/A:P
Weakness
CWE-125
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2021-32614
Weakness
CWE-125
Updated
2026-11-02
EUVDEUVD-2021-19452 No score

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.

Record
EUVD-2021-19452
Updated
2026-11-03
GitHub AdvisoriesGHSA-qw7r-wvwg-fj9h 7.1

A flaw was found in dmg2img through 20170502. fill_mishblk() does not check the length of the...

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.

Record
GHSA-qw7r-wvwg-fj9h
CVSS 3.1
7.1 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
Weakness
CWE-125
Updated
2026-11-02
OSV 7.1

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.

Record
CVE-2021-32614
CVSS 3.1
7.1 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2021-32614 7.1

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.

Record
DEBIAN-CVE-2021-32614
CVSS 3.1
7.1 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2021-32614 7.1

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.

Record
UBUNTU-CVE-2021-32614
CVSS 3.1
7.1 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
dmg2img
Debian:12
All versions, plus listed versions
1.6.7+git20201227.a3e4134-0.11.6.7-1
None known
dmg2img
Debian:13
All versions, plus listed versions
1.6.7+git20201227.a3e4134-0.1
None known
dmg2img
Debian:14
All versions, plus listed versions
1.6.7+git20201227.a3e4134-0.1
None known
dmg2img
Ubuntu:16.04:LTS
All versions, plus listed versions
1.6.5-1
None known
dmg2img
Ubuntu:18.04:LTS
All versions, plus listed versions
1.6.5-1.11.6.7-11.6.7-1build1
None known
dmg2img
Ubuntu:20.04:LTS
All versions, plus listed versions
1.6.7-1build1
None known
dmg2img
Ubuntu:22.04:LTS
All versions, plus listed versions
1.6.7-1build11.6.7-1build2
None known
dmg2img
Ubuntu:24.04:LTS
All versions, plus listed versions
1.6.7-1build21.6.7-1build31.6.7-1build4
None known
dmg2img
Ubuntu:25.10
All versions, plus listed versions
1.6.7-1build41.6.7+git20201227.a3e4134-0.1
None known
dmg2img
Ubuntu:26.10
All versions, plus listed versions
1.6.7+git20201227.a3e4134-0.1build11.6.7+git20201227.a3e4134-0.1build2
None known
dmg2img
Ubuntu:26.04:LTS
All versions, plus listed versions
1.6.7+git20201227.a3e4134-0.11.6.7+git20201227.a3e4134-0.1build1
None known

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-32614 is a high vulnerability (CVSS 7.1) in Dmg2img Project Dmg2img, published May 26, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.96%, the 61st percentile. No source names a fixed version.

References

MoveEnter Open