{"id":"CVE-2023-2804","published":"2023-05-25T00:00:00Z","modified":"2025-01-16T15:17:27Z","title":"A heap-based buffer overflow issue was discovered in libjpeg-turbo in h2v2_merged_upsample_internal() function of…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.012,"percentile":0.68925,"provenance":"source"},"cwes":[{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"references":[{"url":"https://github.com/libjpeg-turbo/libjpeg-turbo/issues/675","tags":[]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2208447","tags":[]},{"url":"https://access.redhat.com/security/cve/CVE-2023-2804","tags":[]},{"url":"https://github.com/libjpeg-turbo/libjpeg-turbo/commit/9f756bc67a84d4566bf74a0c2432aa55da404021","tags":[]},{"url":"https://github.com/libjpeg-turbo/libjpeg-turbo/issues/668#issuecomment-1492586118","tags":[]},{"url":"https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-01006.html","tags":[]}],"priority":{"score":18.3,"factors":[{"name":"EPSS percentile","points":13.79},{"name":"CVSS severity","points":4.55}]},"affectedVersions":[{"vendor":"n/a","product":"libjpeg-turbo","versions":["Fixed in libjpeg-turbo v3.0 (beta2)"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-01-16T15:15:55.152243Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-34257","exploited":false,"provenance":"source"}}