Bug 1907513 (CVE-2020-27842) - CVE-2020-27842 openjpeg: null pointer dereference in opj_tgt_reset function in lib/openjp2/tgt.c
Summary: CVE-2020-27842 openjpeg: null pointer dereference in opj_tgt_reset function i...
Alias: CVE-2020-27842
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1907679 1907680 1907681 1907682 1908165
Blocks: 1906158 1907565
TreeView+ depends on / blocked
Reported: 2020-12-14 16:38 UTC by Guilherme de Almeida Suckevicz
Modified: 2021-11-09 17:56 UTC (History)
5 users (show)

Fixed In Version: openjpeg 2.4.0
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in OpenJPEG’s t2 encoder. This flaw allows an attacker who can provide crafted input to be processed by OpenJPEG to cause a NULL pointer dereference issue. The highest threat to this vulnerability is to system availability.
Clone Of:
Last Closed: 2021-11-09 17:53:00 UTC

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2021:4251 0 None None None 2021-11-09 17:56:30 UTC

Description Guilherme de Almeida Suckevicz 2020-12-14 16:38:44 UTC
A flaw was found in OpenJPEG. Specially crafted file can lead to an out-of-bounds read in opj_tgt_reset function in lib/openjp2/tgt.c.


Comment 1 Todd Cullum 2020-12-15 01:30:07 UTC

Name: zodf0055980 (SQLab NCTU Taiwan)

Comment 2 Todd Cullum 2020-12-15 01:35:05 UTC
Created mingw-openjpeg2 tracking bugs for this issue:

Affects: fedora-all [bug 1907682]

Created openjpeg tracking bugs for this issue:

Affects: fedora-all [bug 1907680]

Created openjpeg2 tracking bugs for this issue:

Affects: epel-7 [bug 1907679]
Affects: fedora-all [bug 1907681]

Comment 6 Product Security DevOps Team 2021-11-09 17:52:58 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):


Comment 7 errata-xmlrpc 2021-11-09 17:56:29 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2021:4251 https://access.redhat.com/errata/RHSA-2021:4251

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