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

 

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

Published: April 11, 2023


Vulnerability identifier: #VU74808
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-43597
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 the IFFOutput alignment padding functionality. A remote attacker can trick the victim to open a specially crafted 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.

Note, this vulnerability arises when the "m_spec.format" is "TypeDesc::UINT8".


Affected software

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

How to mitigate CVE-2022-43597

Install updates from vendor's website.

oiio - update to 2.4.6.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