CVE-2023-2804
Last modified
CVE-2023-2804 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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. EPSS estimates a 1.20% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Libjpeg-Turbo | Libjpeg-Turbo | 2.1.90 |
References
- https://access.redhat.com/security/cve/CVE-2023-2804Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2208447Issue Tracking, Patch
- https://github.com/libjpeg-turbo/libjpeg-turbo/issues/668#issuecomment-1492586118Exploit, Issue Tracking, Patch
- https://github.com/libjpeg-turbo/libjpeg-turbo/issues/675Exploit, Issue Tracking, Patch
- https://access.redhat.com/security/cve/CVE-2023-2804Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2208447Issue Tracking, Patch
- https://github.com/libjpeg-turbo/libjpeg-turbo/issues/668#issuecomment-1492586118Exploit, Issue Tracking, Patch
- https://github.com/libjpeg-turbo/libjpeg-turbo/issues/675Exploit, Issue Tracking, Patch
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-2804?
How severe is CVE-2023-2804?
How do I fix CVE-2023-2804?
Are you affected by CVE-2023-2804?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
