{"id":"CVE-2022-41981","details":"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.","modified":"2026-08-27T03:50:25.750669479Z","published":"2022-12-22T22:15:15.893Z","database_specific":{"cna_assigner":"talos","cwe_ids":["CWE-121"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/41xxx/CVE-2022-41981.json","unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"v2.3.19.0"},{"last_affected":"v2.3.19.0"}]}]},"references":[{"type":"WEB","url":"https://talosintelligence.com/vulnerability_reports/TALOS-2022-1628"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/41xxx/CVE-2022-41981.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-41981"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/AcademySoftwareFoundation/OpenImageIO","events":[{"introduced":"9ba61609c2c7e0e223cc26b189e19821dfad2101"},{"last_affected":"9ba61609c2c7e0e223cc26b189e19821dfad2101"}],"database_specific":{"cpe":"cpe:2.3:a:openimageio:openimageio:2.3.19.0:*:*:*:*:*:*:*","extracted_events":[{"introduced":"2.3.19.0"},{"last_affected":"2.3.19.0"}],"source":"CPE_STRING"}}],"versions":["2.3.19.0","v2.3.19.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-41981.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/academysoftwarefoundation/openimageio","events":[{"introduced":"9ba61609c2c7e0e223cc26b189e19821dfad2101"},{"last_affected":"9ba61609c2c7e0e223cc26b189e19821dfad2101"}],"database_specific":{"extracted_events":[{"introduced":"2.3.19.0"},{"last_affected":"2.3.19.0"}],"source":"CPE_STRING","cpe":"cpe:2.3:a:openimageio:openimageio:2.3.19.0:*:*:*:*:*:*:*"}}],"versions":["2.3.19.0","v2.3.19.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-41981.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}