CVE-2023-2804 Red Hat, Inc. CVE-2023-2804: Heap Based Overflow libjpeg-turbo
MediumCVSS 6.5
EPSS 1.2%
- Published
- Updated
- Exploit status
- No public exploit known
Description
A heap-based buffer overflow issue was discovered in libjpeg-turbo in h2v2_merged_upsample_internal() function of jdmrgext.c file. The vulnerability can only be exploited with 12-bit data precision for which the range of the sample data type exceeds the valid sample range, hence, an attacker could craft a 12-bit lossless JPEG image that contains out-of-range 12-bit samples. An application attempting to decompress such image using merged upsampling would lead to segmentation fault or buffer overflows, causing an application to crash.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Microsoft windows server 23h2 | < 10.0.25398.2149 | 10.0.25398.2149 |
| alpine/libjpeg-turbo(Alpine:v3.18) | < 2.1.5.1-r3 | 2.1.5.1-r3 |
| alpine/libjpeg-turbo(Alpine:v3.19) | < 2.1.5.1-r4 | 2.1.5.1-r4 |
| alpine/libjpeg-turbo(Alpine:v3.20) | < 2.1.5.1-r4 | 2.1.5.1-r4 |
| alpine/libjpeg-turbo(Alpine:v3.21) | < 2.1.5.1-r4 | 2.1.5.1-r4 |
| alpine/libjpeg-turbo(Alpine:v3.22) | < 2.1.5.1-r4 | 2.1.5.1-r4 |
| alpine/libjpeg-turbo(Alpine:v3.23) | < 2.1.5.1-r4 | 2.1.5.1-r4 |
| alpine/libjpeg-turbo(Alpine:v3.24) | < 2.1.5.1-r4 | 2.1.5.1-r4 |
| libjpeg-turbo | = 2.1.90 | No fix listed |
References
- MSRC Security Update Guide vendor-advisory
- KB5075897 patch
- KB5075897 vendor-advisory
- github.com exploit issue-tracking patch
- bugzilla.redhat.com issue-tracking patch
- access.redhat.com third-party-advisory
- github.com patch
- github.com exploit issue-tracking patch
- www.intel.com
- security.alpinelinux.org vendor-advisory
- Debian Security Tracker CVE-2023-2804 vendor-advisory