Stack-based buffer overflow in oiio - CVE-2022-41981

 

Stack-based buffer overflow in oiio - CVE-2022-41981

Published: April 11, 2023


Vulnerability identifier: #VU74799
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-41981
CWE-ID: CWE-121
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 the TGA file format parser. A remote attacker can trick the victim to open a specially crafted TGA file, trigger a stack-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
Fedora
openimageio (Debian package)
media-libs/openimageio
OpenImageIO

How to mitigate CVE-2022-41981

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
OpenImageIO - update to 2.4.6.1-1.fc37

External References

Related Security Bulletins