{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2023-2804","published":"2023-05-25T22:15:09.443000Z","last_modified":"2026-06-17T05:53:28.837000Z","status":"Modified","cvss":{"version":"3.1","score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-122","CWE-787"],"cpes":[{"criteria":"cpe:2.3:a:libjpeg-turbo:libjpeg-turbo:2.1.90:*:*:*:*:*:*:*","part":"a","vendor":"libjpeg-turbo","product":"libjpeg-turbo","version":"2.1.90"}],"cpes_truncated":false,"vendors":["libjpeg-turbo"],"products":["libjpeg-turbo/libjpeg-turbo"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"epss":{"score":0.01347,"percentile":0.71616,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":54,"links":{"html_es":"/es/cve/CVE-2023-2804/","html_en":"/en/cve/CVE-2023-2804/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-2804","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-2804"},"untrusted":{"vendor_name":"Libjpeg-turbo","product_name":"Libjpeg-turbo","desc_en":"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.","affected":[],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2023-2804","tags":["Third Party Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2208447","tags":["Issue Tracking","Patch"]},{"url":"https://github.com/libjpeg-turbo/libjpeg-turbo/commit/9f756bc67a84d4566bf74a0c2432aa55da404021","tags":["Patch"]},{"url":"https://github.com/libjpeg-turbo/libjpeg-turbo/issues/668#issuecomment-1492586118","tags":["Exploit","Issue Tracking","Patch"]},{"url":"https://github.com/libjpeg-turbo/libjpeg-turbo/issues/675","tags":["Exploit","Issue Tracking","Patch"]},{"url":"https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-01006.html","tags":[]}]}}