Libheif 1.22.x < 1.23.2 Heap Buffer Overflow (macOS)

critical Nessus Plugin ID 346898

Synopsis

Libheif running on the remote host is affected by a heap buffer overflow vulnerability.

Description

According to its self-reported version, libheif on the remote host is 1.22.0 or later and prior to 1.23.2. It is, therefore, affected by a heap buffer overflow vulnerability. A crafted HEIC/HEIF/AVIF file using nested identity derivation (iden) and auxiliary (auxl) item references causes HeifPixelImage::scale_nearest_neighbor() to write 16-bit samples into an 8-bit Alpha plane allocation, resulting in an out-of-bounds heap write whose size and contents are attacker controlled. Any application calling heif_decode_image() is affected, with no special API options required.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade to libheif version 1.23.2 or later.

See Also

http://www.nessus.org/u?cd97c8a0

Plugin Details

Severity: Critical

ID: 346898

File Name: libheif_CVE-2026-84383.nasl

Version: 1.1

Type: Local

Agent: macosx

Published: 9/17/2026

Updated: 9/17/2026

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 58.22

CVSS v2

Risk Factor: High

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2026-84383

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Vulnerability Information

CPE: cpe:/a:struktur:libheif

Required KB Items: Host/local_checks_enabled, Host/MacOSX/Version, installed_sw/libheif

Patch Publication Date: 8/25/2026

Vulnerability Publication Date: 8/25/2026

Reference Information

CVE: CVE-2026-84383