Bug 1474845 (CVE-2017-11523)

Summary: CVE-2017-11523 ImageMagick: Endless loop in ReadTXTImage function in coders/txt.c
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: abhgupta, ethan, jhorak, nmurray, pahan, tiwillia
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-08 03:17:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1474846    
Bug Blocks:    

Description Pedro Sampaio 2017-07-25 13:42:35 UTC
The ReadTXTImage function in coders/txt.c in ImageMagick through 6.9.9-0 and 7.x through 7.0.6-1 allows remote attackers to cause a denial of service (infinite loop) via a crafted file, because the end-of-file condition is not considered.

Upstream bug:

https://github.com/ImageMagick/ImageMagick/issues/591

Upstream patch:

https://github.com/ImageMagick/ImageMagick/commit/83e0f8ffd7eeb7661b0ff83257da23d24ca7f078
https://github.com/ImageMagick/ImageMagick/commit/a8f9c2aabed37cd6a728532d1aed13ae0f3dfd78

References:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=869210

Comment 1 Pedro Sampaio 2017-07-25 13:43:36 UTC
Created ImageMagick tracking bugs for this issue:

Affects: fedora-all [bug 1474846]