CVE-2023-2804Libjpeg-turbo
Medium 6.5 No auth needed
Follow: this CVE · Libjpeg-turbo · Libjpeg-turbo We alert you by email or Slack (account required).
- Priority
- 54
- CVSS 3.1
- 6.5
- EPSS
- 1.3% probability of exploitation in 30 days · percentile 72
- Auth required
- No
- Published
- May 25, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Libjpeg-turbo.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| libjpeg-turbo | libjpeg-turbo | 2.1.90 |
Official sources
References
Links published by the sources. Open them with care.
- access.redhat.com Third Party Advisory
- bugzilla.redhat.com Issue Tracking Patch
- github.com Patch
- github.com Exploit Issue Tracking Patch
- github.com Exploit Issue Tracking Patch
- www.intel.com