Buffer overflow in OptiPNG - CVE-2023-43907

 

Buffer overflow in OptiPNG - CVE-2023-43907

Published: November 10, 2023


Vulnerability identifier: #VU82987
CSH Severity: High
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2023-43907
CWE-ID: CWE-119
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 gifread.c. A remote attacker can create a specially crafted PNG image, trick the victim into opening it, trigger memory corruption and execute arbitrary code on the target system.

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


Affected software

OptiPNG
Fedora
openEuler
optipng
optipng-debugsource
optipng-debuginfo

How to mitigate CVE-2023-43907

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

optipng - update to 0.7.8-1
optipng-debugsource - update to 0.7.8-1
optipng-debuginfo - update to 0.7.8-1
optipng - addressed in versions 0.7.8-1.el9, 0.7.8-1.fc37, 0.7.8-1.fc38, 0.7.8-1.fc39, 7.9.1-1.el9, 7.9.1-1.el10_1, 7.9.1-1.fc41, 7.9.1-1.fc42

External References

Related Security Bulletins