CVE-2022-41981

NameCVE-2022-41981
DescriptionA 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3382-1, DSA-5384-1
Debian Bugs1027143

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
openimageio (PTS)jessie, jessie (lts)1.4.14~dfsg0-1+deb8u2vulnerable
stretch (lts), stretch1.6.17~dfsg0-1+deb9u1vulnerable
buster (security), buster, buster (lts)2.0.5~dfsg0-1+deb10u2fixed
bullseye (security), bullseye2.2.10.1+dfsg-1+deb11u1fixed
bookworm2.4.7.1+dfsg-2fixed
sid2.5.16.0+dfsg-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
openimageiosourcejessie(unfixed)end-of-life
openimageiosourcestretch(unfixed)end-of-life
openimageiosourcebuster2.0.5~dfsg0-1+deb10u1DLA-3382-1
openimageiosourcebullseye2.2.10.1+dfsg-1+deb11u1DSA-5384-1
openimageiosource(unstable)2.4.7.1+dfsg-21027143

Notes

https://talosintelligence.com/vulnerability_reports/TALOS-2022-1628
Prerequisite: https://github.com/OpenImageIO/oiio/commit/bc9c931092e973d5250dd22a714cf035827dae6d
https://github.com/OpenImageIO/oiio/commit/19121dc4f0cca1e0ff53d616043d482f23169249

Search for package or bug name: Reporting problems