Stack-based Buffer Overflow Affecting OpenImageIO/oiio package, versions [,2.4.5.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.24% (62nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-OPENIMAGEIOOIIO-3182917
  • published25 Dec 2022
  • disclosed25 Dec 2022
  • creditLilith >_>

Introduced: 25 Dec 2022

CVE-2022-41981  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade OpenImageIO/oiio to version 2.4.5.0 or higher.

Overview

Affected versions of this package are vulnerable to Stack-based Buffer Overflow in targa.imageio/targainput.cpp, which allows attackers to control stack memory to a limited extent, depending on how the application was compiled, via a malicious .tga file.

CVSS Scores

version 3.1