Bug 1929315 (CVE-2020-16588) - CVE-2020-16588 OpenEXR: A Null Pointer Deference in generatePreview in makePreview.cpp could result in a DOS via a crafted EXR file
Summary: CVE-2020-16588 OpenEXR: A Null Pointer Deference in generatePreview in makePr...
Alias: CVE-2020-16588
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1929316 Red Hat1929318 Red Hat1930901 Red Hat1930902 Red Hat1930903
Blocks: Embargoed1929327
TreeView+ depends on / blocked
Reported: 2021-02-16 16:35 UTC by Michael Kaplan
Modified: 2021-11-02 23:06 UTC (History)
6 users (show)

Fixed In Version: openexr 2.4.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2021-11-02 23:06:38 UTC

Attachments (Terms of Use)

Description Michael Kaplan 2021-02-16 16:35:29 UTC
A Null Pointer Deference issue exists in Academy Software Foundation OpenEXR 2.3.0 in generatePreview in makePreview.cpp that can cause a denial of service via a crafted EXR file.

Comment 2 Michael Kaplan 2021-02-16 16:35:53 UTC
Created OpenEXR tracking bugs for this issue:

Affects: fedora-all [bug 1929316]

Comment 6 Todd Cullum 2021-02-19 20:38:48 UTC

This flaw does not affect Red Hat Enterprise Linux 8 because the vulnerable exrmakepreview program is not shipped.

Comment 7 Todd Cullum 2021-02-24 17:49:29 UTC
Flaw summary:

A 1x1 pixel image could cause a null pointer dereference during preview generation due to flawed off-by-one comparisons in  OpenEXR/exrmakepreview/makePreview.cpp generatePreview(). The patch fixes the calculations to properly handle 1x1 images.

Upstream patch: https://github.com/peterhillman/openexr/commit/587ad0ead9b38fd7ced800389bf024820626aa80

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