Stack-based Buffer Overflow Affecting openimageio package, versions [,2.4.7.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.37% (60th 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-CONAN-OPENIMAGEIO-10077901
  • published8 May 2025
  • 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 to version 2.4.7.1 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 Base Scores

version 3.1