ImageMagick CVE-2017-12640 Heap Buffer Overflow Vulnerability
BID:100155
Info
ImageMagick CVE-2017-12640 Heap Buffer Overflow Vulnerability
| Bugtraq ID: | 100155 |
| Class: | Boundary Condition Error |
| CVE: |
CVE-2017-12640 |
| Remote: | Yes |
| Local: | No |
| Published: | Aug 07 2017 12:00AM |
| Updated: | Aug 07 2017 12:00AM |
| Credit: | ADLab of Venustech. |
| Vulnerable: |
ImageMagick ImageMagick 7.0.6-1 |
| Not Vulnerable: | |
Discussion
ImageMagick CVE-2017-12640 Heap Buffer Overflow Vulnerability
ImageMagick is prone to a heap-based buffer-overflow vulnerability because it fails to adequately bounds-check user-supplied data before copying it into an insufficiently sized buffer.
An attacker can exploit this issue to cause denial-of-service condition. Due to the nature of this issue, code execution may be possible but this has not been confirmed.
ImageMagick 7.0.6-1 is vulnerable; other versions may be affected.
ImageMagick is prone to a heap-based buffer-overflow vulnerability because it fails to adequately bounds-check user-supplied data before copying it into an insufficiently sized buffer.
An attacker can exploit this issue to cause denial-of-service condition. Due to the nature of this issue, code execution may be possible but this has not been confirmed.
ImageMagick 7.0.6-1 is vulnerable; other versions may be affected.
Exploit / POC
ImageMagick CVE-2017-12640 Heap Buffer Overflow Vulnerability
The researcher who discovered this issue has created a proof-of-concept. Please see the references for more information.
The researcher who discovered this issue has created a proof-of-concept. Please see the references for more information.
Solution / Fix
ImageMagick CVE-2017-12640 Heap Buffer Overflow Vulnerability
Solution:
Updates are available. Please see the references or vendor advisory for more information.
Solution:
Updates are available. Please see the references or vendor advisory for more information.
References
ImageMagick CVE-2017-12640 Heap Buffer Overflow Vulnerability
References:
References:
- #542 (ImageMagick)
- heap buffer overflow in ReadOneMNGImage #542 (ImageMagick)
- ImageMagick Homepage (ImageMagick)
- poc/heap-mng (jgj212)