Use of Uninitialized Resource Affecting libheif package, versions [,1.23.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.31% (24th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CONAN-LIBHEIF-16770124
  • published20 May 2026
  • disclosed19 May 2026
  • creditElhananHaenel

Introduced: 19 May 2026

CVE-2026-32814  (opens in a new tab)
CWE-908  (opens in a new tab)

How to fix?

Upgrade libheif to version 1.23.1 or higher.

Overview

Affected versions of this package are vulnerable to Use of Uninitialized Resource in the decoding process of grid-based HEIF or AVIF images when a corrupted tile fails to decode and the library returns a success status, resulting in uninitialized heap memory being exposed as pixel data. An attacker can access sensitive information from heap memory by submitting a crafted image file that triggers the leak during decoding. This is only exploitable if the default setting strict_decoding=false is used.

CVSS Base Scores

version 4.0
version 3.1