Bug 2214148 (CVE-2023-34474)

Summary: CVE-2023-34474 ImageMagick: heap-based buffer overflow in ReadTIM2ImageData() function in coders/tim2.c
Product: [Other] Security Response Reporter: TEJ RATHI <trathi>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: bdettelb, jhorak
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: ImageMagick 7.1.1-10 Doc Type: If docs needed, set a value
Doc Text:
A heap-based buffer overflow issue was found in ImageMagick's ReadTIM2ImageData() function in coders/tim2.c. This flaw allows a local attacker to trick the user into opening a specially crafted file, triggering an out-of-bounds read error, and allowing an application to crash, resulting in a denial of service.
Story Points: ---
Clone Of: Environment:
Last Closed: 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: 2214154, 2214156, 2214157    
Bug Blocks: 2211637    

Description TEJ RATHI 2023-06-12 05:51:45 UTC
A heap-based buffer overflow issue was discovered in ImageMagick's ReadTIM2ImageData() function in coders/tim2.c. An attacker could pass specially crafted file to convert, triggering an out-of-bounds read error, allowing an application to crash, resulting in a denial of service.

https://github.com/ImageMagick/ImageMagick/commit/1061db7f80fdc9ef572ac60b55f408f7bab6e1b0

Comment 2 TEJ RATHI 2023-06-12 05:58:36 UTC
Created ImageMagick tracking bugs for this issue:

Affects: epel-8 [bug 2214156]
Affects: fedora-37 [bug 2214154]
Affects: fedora-38 [bug 2214157]