Cloudanix VulnDB

CVE-2023-49464

High · 8.8

CVSS

8.8

EPSS

0.8%

Published

Dec 7, 2023

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A flaw in an image library can make programs crash when they open certain picture files.

Exploit Available
Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Low
Impact
Remote Code Execution
Component
Library
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

A segmentation violation occurs in UncompressedImageCodec::get_luma_bits_per_pixel_from_configuration_unci during processing of malformed image configuration data, resulting in memory corruption.

Why it matters to the business

Applications that process untrusted image files may crash unexpectedly, interrupting image handling workflows and requiring restarts or workarounds until a fix is available.

How an attack unfolds

An attacker supplies a specially crafted HEIF image file that triggers the segmentation violation when the vulnerable libheif library parses the uncompressed image configuration data.

How to fix it

Upgrade libheif to the latest available version that resolves the segmentation fault; if no fixed version exists yet, implement input sanitization or sandboxing for image processing until a patch is released.

How to confirm the fix worked

Test the updated library against the original crashing image samples and verify absence of segmentation faults under the same inputs; monitor vendor advisories for confirmed fixes.

Typical attack path

  1. Craft a malicious HEIF image that targets the affected codec path
  2. Deliver the image via web upload, email attachment, or file share
  3. Victim application loads and processes the image using libheif
  4. Trigger segmentation violation leading to process crash

How to detect it

Inspect application and system logs for segmentation fault entries or crashes originating from libheif image decoding functions; correlate with file processing events involving HEIF content.

What your security team should do

  • Restrict processing of untrusted HEIF images until a fixed version is deployed
  • Monitor upstream libheif releases for the corrective update
  • Apply sandboxing or process isolation around image decoding components
  • Review and update image handling libraries across all dependent applications

The record

libheif v1.17.5 was discovered to contain a segmentation violation via the function UncompressedImageCodec::get_luma_bits_per_pixel_from_configuration_unci.

Affected packages

Ecosystem Package Introduced Fixed
Debian:13 libheif 0 1.17.6-1
Mageia:9 libheif 0 1.16.2-1.1.mga9
Mageia:9 libheif 0 1.16.2-1.1.mga9.tainted
Ubuntu:23.10 libheif 0 1.16.2-2ubuntu1.1
Ubuntu:24.04:LTS libheif 0 1.17.6-1ubuntu4
Ubuntu:Pro:18.04:LTS libheif 0 1.1.0-2ubuntu0.1~esm1
Ubuntu:Pro:20.04:LTS libheif 0 1.6.1-1ubuntu0.1~esm1
Ubuntu:Pro:22.04:LTS libheif 0 1.12.0-2ubuntu0.1~esm1

Related vulnerabilities