CVE-2022-41794
NixOS vulnerability analysis and mitigation

Overview

A heap-based buffer overflow vulnerability (CVE-2022-41794) was discovered in the PSD thumbnail resource parsing code of OpenImageIO 2.3.19.0. The vulnerability was disclosed on December 22, 2022, affecting OpenImageIO versions master-branch-9aeece7a and v2.3.19.0. This vulnerability allows an attacker to achieve arbitrary code execution by providing a specially-crafted PSD file (Talos Report).

Technical details

The vulnerability exists in the PSD thumbnail resource parsing code where there is no validation on the width variable between its read from the file and its use in the getpixels call. The vulnerability is classified as CWE-122 (Heap-based Buffer Overflow) and has received a CVSSv3 score of 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H), indicating critical severity. The issue occurs when processing PSD files, particularly in the thumbnail resource handling functionality ([Talos Report](https://talosintelligence.com/vulnerabilityreports/TALOS-2022-1626)).

Impact

The vulnerability can lead to arbitrary code execution when processing maliciously crafted PSD files. This could allow attackers to execute arbitrary code with the privileges of the application processing the image. The high CVSS score of 9.8 indicates critical severity with potential for complete system compromise (Talos Report).

Mitigation and workarounds

The vulnerability has been addressed in subsequent releases. Users are advised to upgrade to patched versions. Debian has released security updates (DSA-5384-1) for the stable distribution (bullseye) fixing this issue in version 2.2.10.1+dfsg-1+deb11u1. Gentoo users should upgrade to version 2.4.6.0 or later (Debian Advisory, Gentoo Advisory).

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-61619HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61618HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61617HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61610HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61609HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 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