Cloudanix VulnDB

CVE-2022-41684

Medium · 5.5

CVSS

5.5

EPSS

0.8%

Published

Dec 22, 2022

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A flaw in certain image-handling software lets a specially made picture file crash the program, which can interrupt services that open such files.

Exploit Available
Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Low
Impact
Denial Of Service
Component
Library
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Heap out-of-bounds read during parsing of the image file directory section in PSD files within the affected image processing library, resulting in reads from arbitrary memory addresses and denial of service.

Why it matters to the business

Processing of untrusted image files can trigger application crashes and service outages in environments handling PSD content, though low and stable EPSS combined with absence from KEV indicates limited active exploitation risk; downstream packages such as coreruleset and modsecurity-crs must be addressed due to their listed prevalence.

How an attack unfolds

An attacker creates a malformed PSD file that exploits the image file directory parsing logic, then supplies the file to any application or workflow relying on the vulnerable library; successful parsing triggers the out-of-bounds read and crashes the process.

How to fix it

Upgrade modsecurity-crs on Debian 12 and 13 to version 3.3.4-1 and update coreruleset/coreruleset to commit 87979aacb81fae13f993d0b86faa216788e909cc; recompile or redeploy any dependent applications after the library update.

How to confirm the fix worked

Confirm installed package versions match the listed fixed releases, reprocess known-good and boundary-case PSD files to verify absence of crashes, and review build or dependency manifests for the corrected library commit.

Typical attack path

  1. Craft a malicious PSD file targeting the image file directory structure
  2. Deliver the file to a target system or service that invokes PSD parsing
  3. Trigger file processing through normal application workflows or user upload paths
  4. Induce heap out-of-bounds read leading to denial of service

How to detect it

Review application and system logs for unexpected terminations or segmentation faults during PSD file handling; correlate file-processing events with crash artifacts in environments using the vulnerable library.

What your security team should do

  • Apply the specified package and commit updates to all affected instances without delay given the available exploit maturity
  • Restrict or sandbox processing of untrusted PSD files until patches are deployed
  • Include the updated components in regular dependency scanning and vulnerability management workflows

The record

A heap out of bounds read vulnerability exists in the OpenImageIO master-branch-9aeece7a when parsing the image file directory part of a PSD image file. A specially-crafted .psd file can cause a read of arbitrary memory address which can lead to denial of service. An attacker can provide a malicious file to trigger this vulnerability.

Affected packages

Ecosystem Package Introduced Fixed
Debian:10 openimageio 0 2.0.5~dfsg0-1+deb10u2
Debian:11 openimageio 0 2.2.10.1+dfsg-1+deb11u1
Debian:12 openimageio 0 2.4.7.1+dfsg-2
Debian:13 openimageio 0 2.4.7.1+dfsg-2
Mageia:8 openimageio 0 2.2.10.0-1.1.mga8
Ubuntu:16.04:LTS openimageio 0 No fix
Ubuntu:18.04:LTS openimageio 0 No fix
Ubuntu:20.04:LTS openimageio 0 No fix
Ubuntu:22.04:LTS openimageio 0 No fix
Ubuntu:24.04:LTS openimageio 0 No fix
Ubuntu:24.10 openimageio 0 No fix
Ubuntu:25.04 openimageio 0 No fix
Ubuntu:25.10 openimageio 0 No fix
Ubuntu:Pro:16.04:LTS openimageio 0 No fix
Ubuntu:Pro:18.04:LTS openimageio 0 No fix
Ubuntu:Pro:20.04:LTS openimageio 0 No fix
openSUSE:Tumbleweed OpenImageIO 0 2.4.5.0-1.1

Related vulnerabilities