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 m_spec.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).

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).

Exploitability

The vulnerability can be triggered by providing a specially-crafted BMP file that exploits the RLE encoding process. The exploit involves using the [0,2] delta opcode to increment the y-coordinate to arbitrary values, which then allows writing bytes into out-of-bounds memory. This creates a powerful write exploitation primitive (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-2026-18511HIGH7.8
  • NixOS logoNixOS
  • i
NoNoAug 13, 2026
CVE-2026-18846HIGH7.5
  • NixOS logoNixOS
  • i
NoNoAug 13, 2026
CVE-2026-18509HIGH7.1
  • NixOS logoNixOS
  • i
NoNoAug 13, 2026
CVE-2026-18715MEDIUM6.5
  • NixOS logoNixOS
  • i
NoNoAug 13, 2026
CVE-2026-18671MEDIUM5.3
  • NixOS logoNixOS
  • i
NoNoAug 13, 2026

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