CSIRTS // UNIFIED SECURITY ADVISORY FEEDSYS ● ONLINE · POWERED BY INTELFUSIONS.COM

CVE-2026-50142

highpublic exploitCVSS 7.5covered by 2 sourcesfirst seen 2026-07-09
Public exploit code is available. Proof-of-concept or working exploit code for CVE-2026-50142 is indexed in GitHub PoC. Expect opportunistic scanning and exploitation attempts — prioritize remediation even though it is not (yet) in the CISA KEV catalog.
libheif is a HEIF and AVIF file format decoder and encoder. From 1.19.0 until 1.23.0, a crafted HEIF sequence accepted by heif_context_read_from_memory() with the msf1 sequence brand can cause unbounded heap allocation. In libheif/sequences/seq_boxes.cc, Box_stsz::parse() applies max_sequence_frames only to variable-size samples, so fixed-size mode accepts an attacker-controlled sample_count without a bound. In libheif/sequences/track.cc, Track::load() also adds current_sample_idx and samples_per_chunk in 32-bit arithmetic, allowing the consistency check to be bypassed by wraparound. The resulting values reach the Chunk::Chunk() allocation path, which can consume gigabytes of memory and crash or stall the process through memory exhaustion. This issue is fixed in version 1.23.0.

CSIRTS triage

What
libheif has multiple vulnerabilities that could lead to denial of service or information disclosure.
Who is affected
Only Ubuntu 26.04 LTS deployments are affected.
Urgency
Remediation is urgent due to the potential for denial of service and information disclosure.
Action
Update to the latest version of libheif.

AI-assisted analysis generated from the source advisory — verify against the original.

⚡ Watch CVE-2026-50142

Get an email if CVE-2026-50142 is added to CISA KEV, gains public exploit code, or a new advisory cites it — max one per day, one-click unsubscribe.

Exploitation outlook

Exploit availability

Public exploit or proof-of-concept code for CVE-2026-50142 is indexed in these free datasets. Available exploit code raises real-world risk independent of the CVSS score.

Advisory coverage (2)

External references

NVD record for CVE-2026-50142

CVE.org record

Embed the live status

CVE-2026-50142 live status badge — this badge updates automatically when the KEV or exploit status changes. How to embed it →

[![CVE-2026-50142 status](https://www.csirts.com/badge/CVE-2026-50142)](https://www.csirts.com/cve/CVE-2026-50142)