New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
heap-buffer-overflow in MagickCore/statistic.c #1586
Comments
I followed this comment, and I found this bug exists with --disable-openmp option. I ran the same command that I've reported in this issue and I got heap-buffer-overflow in MagickCore/statistic.c:654:41 in EvaluateImages. Here's ASAN log.
The program doesn't give any exception in this case |
Thanks for the problem report. We can reproduce it and will have a patch to fix it in GIT master branch @ https://github.com/ImageMagick/ImageMagick later today. The patch will be available in the beta releases of ImageMagick @ http://www.imagemagick.org/download/beta/ by sometime tomorrow. |
This was assigned CVE-2019-13300. |
Prerequisites
Description
There is a heap buffer overflow vulnerability in MagickCore/statistic.c:654:41 in .omp_outlined.debug_.10
Steps to Reproduce
run cmd:
magick "-black-point-compensation" "-interlace" "none" "(" "magick:rose" "-density" "302x531" ")" "(" "magick:granite" "+repage" ")" "-antialias" "-evaluate-sequence" "Log" ""
This is about heap-buffer-overflow log using ASAN.
System Configuration
ImageMagick version:
Version: ImageMagick 7.0.8-50 Q16 x86_64 2019-06-10
Environment (Operating system, version and so on):
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic
Additional information: CC=clang-7 CXX=clang++-7
The text was updated successfully, but these errors were encountered: