Bug 1778278 (CVE-2019-5052)

Summary: CVE-2019-5052 SDL2_image: specially crafted file can cause an integer overflow which can lead to a heap-based buffer overflow and potential code execution
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: erik-fedora, igor.raits, klember, maci, manisandro, walter.pete
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: 2021-10-27 10:51:05 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: 1778279    
Bug Blocks:    

Description Guilherme de Almeida Suckevicz 2019-11-29 17:37:54 UTC
An exploitable integer overflow vulnerability exists when loading a PCX file in SDL2_image 2.0.4. A specially crafted file can cause an integer overflow, resulting in too little memory being allocated, which can lead to a buffer overflow and potential code execution. An attacker can provide a specially crafted image file to trigger this vulnerability.

Reference:
https://talosintelligence.com/vulnerability_reports/TALOS-2019-0821

Comment 1 Guilherme de Almeida Suckevicz 2019-11-29 17:38:04 UTC
Created mingw-SDL2_image tracking bugs for this issue:

Affects: epel-7 [bug 1778279]