Lucene search
+L

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

🗓️ 17 Sep 2026 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 3 Views

Libheif 1.22.0-1.23.2 heap overflow in scale_nearest_neighbor via crafted HEIC/HEIF/AVIF file.

Related
Refs
Code
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
##

include('compat.inc');

if (description)
{
  script_id(346898);
  script_version("1.1");
  script_set_attribute(attribute:"plugin_modification_date", value:"2026/09/17");

  script_cve_id("CVE-2026-84383");

  script_name(english:"Libheif 1.22.x < 1.23.2 Heap Buffer Overflow (macOS)");

  script_set_attribute(attribute:"synopsis", value:
"Libheif running on the remote host is affected by a heap buffer overflow vulnerability.");
  script_set_attribute(attribute:"description", value:
"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.");
  # https://github.com/strukturag/libheif/security/advisories/GHSA-g89c-p67h-r497
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?cd97c8a0");
  script_set_attribute(attribute:"solution", value:
"Upgrade to libheif version 1.23.2 or later.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");
  script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2026-84383");

  script_set_attribute(attribute:"vuln_publication_date", value:"2026/08/25");
  script_set_attribute(attribute:"patch_publication_date", value:"2026/08/25");
  script_set_attribute(attribute:"plugin_publication_date", value:"2026/09/17");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:struktur:libheif");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"MacOS X Local Security Checks");

  script_copyright(english:"This script is Copyright (C) 2026 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("libheif_macos_installed.nbin");
  script_require_keys("Host/local_checks_enabled", "Host/MacOSX/Version", "installed_sw/libheif");

  exit(0);
}

include('vcf.inc');

vcf::add_separator('_');
var app_info = vcf::get_app_info(app:'libheif');

var constraints = [
  { 'min_version' : '1.22.0', 'fixed_version' : '1.23.2' }
];

vcf::check_version_and_report(app_info:app_info, constraints:constraints, severity:SECURITY_HOLE);

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation