CVE-2022-38143
NixOS vulnerability analysis and mitigation

Overview

A heap out-of-bounds write vulnerability (CVE-2022-38143) was discovered in OpenImageIO v2.3.19.0, specifically in how it processes RLE encoded BMP images. The vulnerability was discovered by Cisco Talos and publicly disclosed on December 22, 2022. The affected software versions include OpenImageIO master-branch-9aeece7a and v2.3.19.0 (Talos Report).

Technical details

The vulnerability exists in the BMP file processing functionality of OpenImageIO. When processing RLE encoded BMP images, the software fails to properly validate the y-coordinate against mspec.height during decompression. While there are checks for the x-coordinate bounds, the lack of y-coordinate validation allows writing to arbitrary out-of-bounds memory locations. The vulnerability has been assigned a CVSSv3 score of 9.8 (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) and is classified as CWE-123 (Write-what-where Condition) ([Talos Report](https://talosintelligence.com/vulnerabilityreports/TALOS-2022-1630)).

Impact

The vulnerability can lead to arbitrary code execution when processing specially crafted BMP files. An attacker can exploit this vulnerability by providing a malicious BMP file that triggers an out-of-bounds write condition, potentially allowing them to execute arbitrary code on the affected system (Talos Report).

Mitigation and workarounds

The vulnerability was patched with the release of a vendor update on November 1, 2022. Users are advised to upgrade to a version newer than v2.3.19.0. The issue was addressed in subsequent releases of OpenImageIO (Talos Report, Gentoo Security).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-14330CRITICAL9.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox_esr
NoYesDec 09, 2025
CVE-2025-14329HIGH8.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox:*:*:*:*:esr:*:*:*
NoYesDec 09, 2025
CVE-2025-14333HIGH8.1
  • NixOSNixOS
  • firefox
NoYesDec 09, 2025
CVE-2025-14332HIGH7.3
  • NixOSNixOS
  • firefox
NoYesDec 09, 2025
CVE-2025-14331MEDIUM6.5
  • NixOSNixOS
  • firefox
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management