CVE-2023-2804 - CVE House
Back to Database
Status published Unknown CVE-2023-2804

A heap-based buffer overflow issue was discovered in libjpeg-turbo in...

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2023-2804

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

libjpeg-turbo
Vulnerable Versions:
Fixed in libjpeg-turbo v3.0 (beta2)

Timeline

Official Publish: May 25th, 2023
Last Modified: January 16th, 2025
Added to House: July 22nd, 2026

CVSS Vectors

No vector data available

Weaknesses (CWE)