Bug 1778274 (CVE-2019-5051)

Summary: CVE-2019-5051 SDL2_image: missing error handler when loading a PCX file 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:01 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: 1778275    
Bug Blocks:    

Description Guilherme de Almeida Suckevicz 2019-11-29 17:28:59 UTC
An exploitable heap-based buffer overflow vulnerability exists when loading a PCX file in SDL2_image, version 2.0.4. A missing error handler 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-0820

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

Affects: epel-7 [bug 1778275]