Bug 2006930 (CVE-2021-37972) - CVE-2021-37972 libjpeg-turbo: Out-of-bounds read in 64-bit SSE2 Huffman encoder
Summary: CVE-2021-37972 libjpeg-turbo: Out-of-bounds read in 64-bit SSE2 Huffman encoder
Alias: CVE-2021-37972
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 2006931 2006932 2007307 2007309 2007679
Blocks: 2007311
TreeView+ depends on / blocked
Reported: 2021-09-22 16:42 UTC by Guilherme de Almeida Suckevicz
Modified: 2022-05-17 14:45 UTC (History)
18 users (show)

Fixed In Version: libjpeg-turbo 2.1.1
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the libjpeg-turbo package, where it is susceptible to an out-of-bounds read on crafted input and malformed files. Proper bounds checking is not enforced when processing JPEG files. The highest threat from this vulnerability is system availability.
Clone Of:
Last Closed: 2022-05-17 14:45:59 UTC

Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2021-09-22 16:42:31 UTC
An out of bounds read flaw was found in the libjpeg-turbo component of the Chromium browser.

Upstream bug(s):


External References:


Comment 1 Guilherme de Almeida Suckevicz 2021-09-22 16:43:35 UTC
Created chromium tracking bugs for this issue:

Affects: epel-all [bug 2006932]
Affects: fedora-all [bug 2006931]

Comment 2 Product Security DevOps Team 2021-09-22 18:21:54 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.

Comment 4 Guilherme de Almeida Suckevicz 2021-09-23 14:23:52 UTC
Created libjpeg-turbo tracking bugs for this issue:

Affects: fedora-all [bug 2007307]

Created mingw-libjpeg-turbo tracking bugs for this issue:

Affects: fedora-all [bug 2007309]

Comment 6 Tomas Hoger 2021-09-24 06:26:32 UTC
The upstream bug report remains private at this point.  However, its bug is referenced by this commit:


This commit updates libjpeg-turbo bundled with Chromium sources from version 2.1.0 to 2.1.1.  The CVE assignment seems to be for this change mentioned in the commit message:

Notable changes include a fix for a crash in the 64-bit SSE2 Huffman

This should correspond to the following libjpeg-turbo commit:


Note that the commit message notes the problem was introduced in commit 087c29e, which was added in version 2.0.90 according git tags.

Comment 7 Tomas Hoger 2021-09-24 07:01:17 UTC
This is libjpeg-turbo upstream bug report, that points back to the Chromium bug:


Comment 11 Product Security DevOps Team 2022-05-17 14:45:56 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):


Note You need to log in before you can comment on or make changes to this bug.