Live threats

All CVEs / Libjpeg-turbo

CVE-2023-2804Libjpeg-turbo

Medium 6.5 No auth needed

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
Weakness (CWE)
CWE-122, CWE-787
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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Libjpeg-turbo.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
libjpeg-turbolibjpeg-turbo2.1.90

Official sources

References

Links published by the sources. Open them with care.