Libheif 1.19.x < 1.23.0 DoS (macOS)

high Nessus Plugin ID 321517

Synopsis

Libheif running on the remote host is affected by a denial of service vulnerability.

Description

According to its self-reported version, libheif on the remote host is affected by a denial of service vulnerability. A crafted HEIF sequence file can cause libheif to perform unbounded heap allocation due to a missing bound check in the stsz fixed-size mode of the HEIF sequence parser, leading to an OOM crash or prolonged swap-thrash followed by OOM-kill.

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.0 or later.

See Also

http://www.nessus.org/u?3e16d7db

Plugin Details

Severity: High

ID: 321517

File Name: libheif_CVE-2026-50142.nasl

Version: 1.1

Type: Local

Agent: macosx

Published: 6/18/2026

Updated: 6/18/2026

Supported Sensors: Nessus Agent, Nessus

Risk Information

CVSS v2

Risk Factor: High

Base Score: 7.8

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

CVSS Score Source: CVE-2026-50142

CVSS v3

Risk Factor: High

Base Score: 7.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/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: 5/29/2026

Vulnerability Publication Date: 5/29/2026

Reference Information

CVE: CVE-2026-50142