CVE-2022-38143CWE-123

A heap out-of-bounds write vulnerability exists in the way OpenImageIO v2.3.19.0 processes RLE encoded BMP images

Critical · published December 23, 2022

CVSS v3.0
9.8
EPSS
1%
Percentile
73.6
In the wild
Unconfirmed
What it is

🔥 A heap out-of-bounds write vulnerability in OpenImageIO can turn innocent BMP images into a hacker's playground! This flaw is like a painter who gets a bit too creative and accidentally spills paint into places it shouldn’t be, causing chaos on the canvas. An attacker can craft a malicious BMP file that writes data to locations outside of the intended memory space, leading to a messy situation! If exploited, this vulnerability can lead to arbitrary code execution on the affected system, allowing attackers to run malicious code as if they were the user. This could mean accessing sensitive data, controlling the system, or wreaking absolute havoc!

Put simply

This flaw is like a painter who gets a bit too creative and accidentally spills paint into places it shouldn’t be, causing chaos on the canvas. An attacker can craft a malicious BMP file that writes data to locations outside of the intended memory space, leading to a messy situation! In OpenImageIO v2.3.19.0, the vulnerability arises from improper handling of RLE encoded BMP images, which lets attackers manipulate memory allocation and write to out-of-bounds locations.

What to do

If exploited, this vulnerability can lead to arbitrary code execution on the affected system, allowing attackers to run malicious code as if they were the user. This could mean accessing sensitive data, controlling the system, or wreaking absolute havoc! Upgrade to OpenImageIO version 2.3.20 or later immediately to patch this vulnerability. Additionally, conduct a thorough review of your image processing workflows to ensure no untrusted image files are processed without validation. Be proactive! You’ve got this! With these steps, you’ll be defending your systems like a pro! 🛡️

The record
Technical detail
CVSS v3.0
9.8 · CRITICAL
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01470 · 73.6th percentile
Weakness
CWE-123 · Write-what-where Condition
Published
2022-12-23T23:03Z
EPSS history
Timeline
  • 23 DEC 23:03Z
    A heap out-of-bounds write vulnerability exists in the way OpenImageIO v2.3.19.0 processes RLE encoded BMP images
    cvelistv5