Heap-based buffer overflow in jpegoptim - CVE-2023-27781

 

Heap-based buffer overflow in jpegoptim - CVE-2023-27781

Published: August 18, 2023


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

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in jpegoptim.c. A remote attacker can pass specially crafted data to the application, trigger a heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

jpegoptim
Fedora
jpegoptim

How to mitigate CVE-2023-27781

Install updates from vendor's website.

jpegoptim - update to 1.5.3
jpegoptim - addressed in versions 1.5.3-1.el9, 1.5.3-1.fc38

External References

Related Security Bulletins