A flaw was found in libjpeg-turbo 2.0.1. The tjLoadImage function has an integer overflow with a resultant heap-based buffer overflow via a BMP image because multiplication of pitch and height is mishandled. References: https://github.com/libjpeg-turbo/libjpeg-turbo/issues/304 Upstream Patch: https://github.com/libjpeg-turbo/libjpeg-turbo/commit/3d9c64e9f8aa1ee954d1d0bb3390fc894bb84da3
Created libjpeg-turbo tracking bugs for this issue: Affects: fedora-all [bug 1665224] Created mingw-libjpeg-turbo tracking bugs for this issue: Affects: epel-7 [bug 1665227] Affects: fedora-all [bug 1665225]
RHEL versions don't have this function. Looks like this was introduced via https://github.com/libjpeg-turbo/libjpeg-turbo/commit/aa7459050d7a50e1d8a99488902d41fbc118a50f
Statement: This issue did not affect the versions of libjpeg-turbo as shipped with Red Hat Enterprise Linux 6 and 7.
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s): https://access.redhat.com/security/cve/cve-2018-20330