Heap-based buffer overflow in oiio - CVE-2022-41838

 

Heap-based buffer overflow in oiio - CVE-2022-41838

Published: April 11, 2023


Vulnerability identifier: #VU74795
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-2022-41838
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 DDS scanline parsing functionality. A remote attacker can trick the victim to open a specially crafted .dds file, 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

oiio
Debian Linux
Gentoo Linux
openimageio (Debian package)
media-libs/openimageio

How to mitigate CVE-2022-41838

Install updates from vendor's website.

oiio - update to 2.4.5.0
openimageio (Debian package) - update to 2.2.10.1+dfsg-1+deb11u1
media-libs/openimageio - update to 2.4.6.0

External References

Related Security Bulletins