Vulnerability · Published Dec 23, 2022 · Assigned by talos
CVE-2022-41981
High 8.1
In plain English
A high-severity stack buffer overflow in OpenImageIO from OpenImageIO Project. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 66% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
A stack-based buffer overflow vulnerability exists in the TGA file format parser of OpenImageIO v2.3.19.0. A specially-crafted targa file can lead to out of bounds read and write on the process stack, which can lead to arbitrary code execution. An attacker can provide a malicious file to trigger this vulnerability.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | openimageio | 2.4.7.1+dfsg-2 | DEBIAN-CVE-2022-41981 |
| Debian:13 | openimageio | 2.4.7.1+dfsg-2 | DEBIAN-CVE-2022-41981 |
| Debian:14 | openimageio | 2.4.7.1+dfsg-2 | DEBIAN-CVE-2022-41981 |
| Ubuntu:22.04:LTS | openimageio | no fix listed | UBUNTU-CVE-2022-41981 |
| Ubuntu:25.10 | openimageio | no fix listed | UBUNTU-CVE-2022-41981 |
| Ubuntu:26.10 | openimageio | no fix listed | UBUNTU-CVE-2022-41981 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| OpenImageIO Project | OpenImageIO | v2.3.19.0 |
Weakness: CWE-121 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H