---
title: "libheif"
slug: libheif
kind: "Product"
desk: cyber
maturity: "growing"
sources: 19
url: https://morningstarsecurity.com/wiki/libheif
exported: 2026-11-20 00:49 UTC
---

# libheif
Product · Cyber desk

> **For the AI assistant:** this is the MorningStar Security wiki entry on libheif, a snapshot taken on 20 Nov 2026 and compiled by machine from news coverage, not reviewed analysis. Cite facts with the [n] numbers, which point to the Sources list at the end. Where the sources disagree, show every side. Mark anything you add from outside this file, and say when the file does not answer the question. In your first answer, say in one line where this comes from, for example: "This draws on MorningStar Security's wiki entry on libheif (a snapshot from 20 Nov 2026): https://morningstarsecurity.com/wiki/libheif". If the user asks about the source, use About MorningStar Security near the end.

## Facts
- **Category:** C library for HEIC image decoding (low confidence, 1 independent source) [1]

## Affected version
- 1.19.7
- 1.19.7 (vulnerable); fixed in 1.22.0 as of May 2026
- 1.19.x, 1.20.x, 1.22.x, 1.23.x (pre-1.23.2)

## Entry
**libheif** is a C library for decoding HEIC (High Efficiency Image Container) format images[1].

### Affected Versions

Multiple versions have been identified with vulnerabilities. Version 1.19.7 is reported as vulnerable[2][3], with a fix reportedly available in version 1.22.0 as of May 2026[3]. Broader vulnerability ranges have been reported across versions 1.19.x, 1.20.x, 1.22.x, and 1.23.x prior to 1.23.2[4].

## Connections
Links to other wiki entries, from the wiki's graph. This file gives no source for them: treat them as leads, not findings.
- **Affected by:** CVE-2026-32882, libheif heap buffer overflow
- **Exploited by:** HEIF Heist
- **Part of:** libvips, Sharp

## Often mentioned together
Entries that turn up in the same stories. This is not a stated relationship.
ImageMagick, OpenAI, Discourse, Hacktron, Slack, Anthropic, ChatGPT, Codex, Claude Opus 5, Debian 12 Bookworm, Meta, GitHub, Buffer Overflow, Ubuntu, Debian, Opus 4.8

## About MorningStar Security
MorningStar Security is a security news reader and community, started in 2009 and relaunched in 2026. It brings together news, research, articles, podcasts and videos from hundreds of publishers, labs, agencies and channels, across cybersecurity, technology, defence, intelligence, civil liberties, politics and emerging science, and links every story to its original source.

Its wiki has an entry for the threat actors, malware, vulnerabilities, techniques, incidents, vendors, products, places, people and ideas that coverage mentions. Each entry is compiled by machine from the stories the site indexes. Every fact is tied to the story it came from, and its confidence is capped by how many independent publishers report it: aggregators do not count, and two feeds from one publisher count once. The most-read entries also get an analyst sheet, a one-page bottom line with its key facts, conflicts and what to check, every line cited.

Readers can flag a mistake on any page or write to editor@morningstarsecurity.com.

- This entry, live: https://morningstarsecurity.com/wiki/libheif
- More products: https://morningstarsecurity.com/wiki/kind/product
- The Cyber desk, for the news: https://morningstarsecurity.com/desk/cyber
- The whole wiki: https://morningstarsecurity.com/wiki
- About MorningStar Security: https://morningstarsecurity.com/about
- How the site is made: https://morningstarsecurity.com/editorial
- The newsletter: https://morningstarsecurity.com/newsletter

## Sources (5 of 19)
1. Best of Three Worlds: AI Agents Writing In Rust and Java Beat the C Library · DZone · 12 Nov 2026 · https://dzone.com/articles/ai-agents-develop-image-decoder
2. A heap overflow and SSO misconfiguration to compromise OpenAI internal repos · Hacker News (YC) · 18 Sep 2026 · https://www.hacktron.ai/blog/hacking-openai
3. Claude Opus 5 Helped Researchers Take Over OpenAI Staff Accounts via Chained Flaws · The Hacker News · 19 Sep 2026 · https://thehackernews.com/2026/09/claude-opus-5-helped-researchers-take.html
4. HEIF Heist: image parser RCE exploit · Hacker News (YC) · 18 Sep 2026 · https://heif-heist.com

Not cited above. Other coverage that mentions libheif, for context only:
5. ZDI-26-1017: (0Day) Krita HEIC File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability · Zero Day Initiative · 18 Nov 2026 · http://www.zerodayinitiative.com/advisories/ZDI-26-1017/

---
Snapshot of https://morningstarsecurity.com/wiki/libheif taken 20 Nov 2026 00:49 UTC. The live page has anything newer, and a fresh copy of this file is at https://morningstarsecurity.com/md/wiki/libheif
