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.
Conclusion & alert: CVE-2023-2804 is rated High Exploit Risk (64.6/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 1.20%). Core evidence: 2 public exploit reference(s) are indexed (Exploit-DB). EPSS rose +1.14% over the last day, indicating growing attacker interest. Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ | |
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.06% | 1.20% | +1.14% |
| 2 | 2025-11-21 | 0.77% | 0.06% | -0.71% |
| 3 | 2025-11-18 | — | 0.77% | — |
Full EPSS history (13 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 6.5 | 3.1 | MEDIUM |
|
2.8 | 3.6 | [email protected] |
| 6.5 | 3.1 | MEDIUM |
|
2.8 | 3.6 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 |
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
— | CVE-2023-2804: 1 source package rows (libjpeg-turbo); 50 state rows across 7 repos (3.17-main, 3.18-main, 3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 6, open 44. | https://security.alpinelinux.org/vuln/CVE-2023-2804 |
debian
|
unimportant | CVE-2023-2804 unimportant priority: Debian including 1 source packages (libjpeg-turbo), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2023-2804 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2023-2804 |
suse
|
medium | CVE-2023-2804 severity moderate: SUSE including 24 source package names (libjpeg-turbo, libjpeg-turbo-3.0.1-77.1, …), 185 product×package rows across 50 product lines (SUSE CaaS Platform 4.0, SUSE Enterprise Storage 7, … (50 product lines)): Known Not Affected 166, Fixed 19. | https://www.suse.com/security/cve/CVE-2023-2804/ |
ubuntu
|
medium | CVE-2023-2804 medium priority: Ubuntu including 3 source packages (libjpeg-turbo, libjpeg6b, libjpeg9), 24 status rows across 8 suites (bionic, focal, jammy, kinetic, lunar, trusty, upstream, xenial): not-affected 21, needs-triage 2, DNE 1. | https://ubuntu.com/security/CVE-2023-2804 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| libjpeg-turbo | libjpeg-turbo | 2.1.90 | cpe:2.3:a:libjpeg-turbo:libjpeg-turbo:2.1.90:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://access.redhat.com/security/cve/CVE-2023-2804 | Third Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2208447 | Issue Tracking Patch |
| https://github.com/libjpeg-turbo/libjpeg-turbo/commit/9f756bc67a84d4566bf74a0c2432aa55da404021 | Patch |
| https://github.com/libjpeg-turbo/libjpeg-turbo/issues/668#issuecomment-1492586118 | Exploit Issue Tracking Patch |
| https://github.com/libjpeg-turbo/libjpeg-turbo/issues/675 | Exploit Issue Tracking Patch |
| https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-01006.html |