Heap-based buffer overflow in libjpeg-turbo - CVE-2023-2804

 

Heap-based buffer overflow in libjpeg-turbo - CVE-2023-2804

Published: July 4, 2023


Vulnerability identifier: #VU77917
CSH Severity: Medium
CVSS v4: 6.7 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2023-2804
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary error in "h2v2_merged_upsample_internal()" function of jdmrgext.c file. A remote attacker can pass specially crafted data to the application, trigger a heap-based buffer overflow and cause a denial of service condition on the target system.


Affected software

libjpeg-turbo
Windows Server

How to mitigate CVE-2023-2804

Install updates from vendor's website.

libjpeg-turbo - update to 3.0.0
Windows Server - addressed in versions 2012 R2 6.3.9600.23022, 2022 23H2 10.0.25398.2149

External References

Related Security Bulletins