{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-2804","id":"CVE-2023-2804","title":"A heap-based buffer overflow issue was discovered in libjpeg-turbo in h2v2_merged_upsample_internal() function of jdm…","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 attempti","descriptionLong":"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.","published":"2023-05-25T00:00:00.000Z","updated":"2026-10-28T10:38:43.919693285Z","reserved":"2023-05-19T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"redhat","metric":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","rating":"medium","source":"CISA-ADP"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"}],"rating":"medium","products":["libjpeg-turbo"],"affectedProducts":[{"vendor":"n/a","product":"libjpeg-turbo","defaultStatus":null,"versions":[{"version":"Fixed in libjpeg-turbo v3.0 (beta2)","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-122","CWE-787"],"aliases":[],"references":[{"url":"https://github.com/libjpeg-turbo/libjpeg-turbo/issues/675","tags":["x_transferred","Exploit","Issue Tracking","Patch","report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2208447","tags":["x_transferred","Issue Tracking","Patch","report"]},{"url":"https://access.redhat.com/security/cve/CVE-2023-2804","tags":["x_transferred","Third Party Advisory","web"]},{"url":"https://github.com/libjpeg-turbo/libjpeg-turbo/commit/9f756bc67a84d4566bf74a0c2432aa55da404021","tags":["x_transferred","Patch","fix"]},{"url":"https://github.com/libjpeg-turbo/libjpeg-turbo/issues/668#issuecomment-1492586118","tags":["x_transferred","Exploit","Issue Tracking","Patch","report"]},{"url":"https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-01006.html","tags":["x_transferred","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/2xxx/CVE-2023-2804.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-2804","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.012,"epssPercentile":0.68785,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-2804","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-2804","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-2804","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-2804","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}