Bug 1849026 (CVE-2020-14152)

Summary: CVE-2020-14152 libjpeg: improper handling of max_memory_to_use setting can lead to excessive memory consumption
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: erik-fedora, klember, manisandro, negativo17, nforro, phracek, rh-spice-bugs, rjones, scorneli, vonsch
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: 2020-08-05 17:58:48 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:    
Bug Blocks: 1849034    

Description Guilherme de Almeida Suckevicz 2020-06-19 13:43:07 UTC
In IJG JPEG (aka libjpeg) before 9d, jpeg_mem_available() in jmemnobs.c in djpeg does not honor the max_memory_to_use setting, possibly causing excessive memory consumption.

References:
https://bugs.gentoo.org/727908
http://www.ijg.org/files/jpegsrc.v9d.tar.gz

Comment 1 Marco Benatto 2020-08-05 17:55:28 UTC
Statement:

Red Hat Enterprise Linux 6 and further versions ships libjpeg-turbo which already contains the fixes, thus these products are not affected.