Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1625429 - (CVE-2018-16412) CVE-2018-16412 ImageMagick: heap-based buffer over-read in the ParseImageResourceBlocks function in coders/psd.c
CVE-2018-16412 ImageMagick: heap-based buffer over-read in the ParseImageReso...
Status: CLOSED NOTABUG
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
low Severity low
: ---
: ---
Assigned To: Red Hat Product Security
impact=low,public=20180819,reported=2...
: Security
Depends On: 1625432
Blocks: 1625433
  Show dependency treegraph
 
Reported: 2018-09-04 18:14 EDT by Laura Pardo
Modified: 2018-10-05 04:16 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-09-18 08:56:11 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Laura Pardo 2018-09-04 18:14:38 EDT
A flaw was found in ImageMagick 7.0.8-11 Q16 has a heap-based buffer over-read in the coders/psd.c ParseImageResourceBlocks function.


References:
https://github.com/ImageMagick/ImageMagick/issues/1250
Comment 1 Laura Pardo 2018-09-04 18:16:40 EDT
Created ImageMagick tracking bugs for this issue:

Affects: fedora-all [bug 1625432]
Comment 2 Riccardo Schirone 2018-09-18 08:01:05 EDT
Statement:

This issue did not affect the versions of ImageMagick as shipped with Red Hat Enterprise Linux 5, 6 and 7 as they did not include the vulnerable code.
Comment 4 Riccardo Schirone 2018-09-18 08:47:19 EDT
ParseImageResourceBlocks function in coders/psd.c does not check if the the read value plus the base `p` buffer may overflow. Thus a big `count` value can bypass the check and result in an out-of-bound read later on during the execution of the function.

Note You need to log in before you can comment on or make changes to this bug.