SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

CVE-2021-32614

The length of the buffer is controlled by an attacker.

HIGH 7.1EPSS 0.96%

Does this matter?

High impact if exploited, but EPSS currently rates exploitation as unlikely (0.96%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.

Description

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.

CVSS 3.1
7.1 HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
EPSS
0.96% probability · 61th percentile
Public exploits
None in Exploit-DB
CISA KEV
Not listed
Weakness
CWE-125
Affected
dmg2img project/dmg2img
Source
patrick@puiterwijk.org
EPSS trend
0%3%5%26 October 2026: 0.96%26 October 202626 October 2026

EPSS 1.0% since 26 October 2026; no change recorded yet. Points are recorded when the score first appears and whenever it moves by a percentage point or more.

References

Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.