CVE-2021-32614

Severity CVSS v4.0:
Pending analysis
Type:
CWE-125 Out-of-bounds Read
Publication date:
26/05/2021
Last modified:
21/12/2022

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:dmg2img_project:dmg2img:*:*:*:*:*:*:*:* 20170502 (including)


References to Advisories, Solutions, and Tools