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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2023
- CVE-2023-28032 Dell BIOS contains an improper input validation vulnerabili…6.7
- CVE-2023-28033 Dell BIOS contains an improper input validation vulnerabili…6.7
- CVE-2023-28034 Dell BIOS contains an improper input validation vulnerabili…6.7
- CVE-2023-28035 Dell BIOS contains an improper input validation vulnerabili…6.7
- CVE-2023-28036 Dell BIOS contains an improper input validation vulnerabili…6.7
- CVE-2023-28039 Dell BIOS contains an improper input validation vulnerabili…6.7
- CVE-2023-28040 Dell BIOS contains an improper input validation vulnerabili…6.7
- CVE-2023-28041 Dell BIOS contains an improper input validation vulnerabili…6.7
- CVE-2023-28042 Dell BIOS contains an improper input validation vulnerabili…6.7
- CVE-2023-28043 Dell SCG 5.14 contains an information disclosure vulnerabil…6.5
- CVE-2023-28044 Dell BIOS contains an improper input validation vulnerabili…6.7
- CVE-2023-28045 Dell CloudIQ Collector version 1.10.2 contains a missing en…7.1
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
