Lucene search
K

Libheif 1.19.x < 1.23.0 DoS (macOS)

🗓️ 18 Jun 2026 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 6 Views

Libheif on macOS DoS via crafted HEIF sequences causing unbounded heap allocation; upgrade to 1.23.0

Related
Refs
Code
ReporterTitlePublishedViews
Family
AlpineLinux
CVE-2026-50142
4 Jun 202615:00
alpinelinux
Circl
CVE-2026-50142
4 Jun 202615:00
circl
CVE
CVE-2026-50142
4 Jun 202615:00
cve
OPENSUSE Linux
gdk-pixbuf-loader-libheif-1.23.0-2.1 on GA media (moderate)
11 Jun 202600:00
opensuse
OSV
BELL-CVE-2026-50142
12 Jun 202618:03
osv
OSV
OPENSUSE-SU-2026:10983-1 gdk-pixbuf-loader-libheif-1.23.0-2.1 on GA media
9 Jun 202600:00
osv
Positive Technologies
PT-2026-48609
9 Jun 202600:00
ptsecurity
SUSE CVE
SUSE CVE-2026-50142
6 Jun 202602:45
susecve
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
##

include('compat.inc');

if (description)
{
  script_id(321517);
  script_version("1.1");
  script_set_attribute(attribute:"plugin_modification_date", value:"2026/06/18");

  script_cve_id("CVE-2026-50142");

  script_name(english:"Libheif 1.19.x < 1.23.0 DoS (macOS)");

  script_set_attribute(attribute:"synopsis", value:
"Libheif running on the remote host is affected by a denial of service vulnerability.");
  script_set_attribute(attribute:"description", value:
"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.");
  # https://github.com/strukturag/libheif/security/advisories/GHSA-jvmp-j3cw-84mh
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?3e16d7db");
  script_set_attribute(attribute:"solution", value:
"Upgrade to libheif version 1.23.0 or later.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2026-50142");

  script_set_attribute(attribute:"vuln_publication_date", value:"2026/05/29");
  script_set_attribute(attribute:"patch_publication_date", value:"2026/05/29");
  script_set_attribute(attribute:"plugin_publication_date", value:"2026/06/18");

  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.19.0', 'max_version' : '1.22.2', 'fixed_version' : '1.23.0' }
];

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

18 Jun 2026 00:00Current
5.9Medium risk
Vulners AI Score5.9
EPSS0.00089
6