Skip to main content
Public proof of conceptFix available

CVE-2026-47247

A public proof of concept exists; no exploitation attested.

  • Published2026-07-21
  • Fixed in1.22.0
  • WeaknessCWE-200 · CWE-226 · CWE-682

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

libheif is a HEIF and AVIF file format decoder and encoder. Prior to version 1.22.0, two bugs in libheif chain to leak process heap memory as visible pixel values in decoded grid images. An attacker who uploads a crafted AVIF/HEIC file to any server-side image processor (WordPress, Sharp/libvips, ImageMagick, etc.) can recover heap data - including library function pointers sufficient to defeat ASLR, or any other secret - from the publicly-downloadable transcoded JPEG/PNG/WebP output. Local attack vectors are also possible. Version 1.22.0 fixes the issue.

Timeline

dates in UTC
  1. 2026-07-2122:17CVE publishedNVD

Versions per branch

NVD
Struktur libheif
BranchAffectedFixed in
1.22< 1.22.01.22.0

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • strukturag libheif
    Affected
    • = < 1.22.0no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-07-21

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • libheifUbuntu:Pro:22.04:LTSall versions · fixed in 1.12.0-2ubuntu0.1~esm3
  • libheifUbuntu:Pro:20.04:LTSall versions · fixed in 1.6.1-1ubuntu0.1~esm3
  • libheifUbuntu:26.04:LTSall versions · fixed in 1.21.2-3ubuntu0.1
  • libheifUbuntu:25.10all versions · fixed in 1.20.2-1ubuntu0.4
  • libheifUbuntu:24.04:LTSall versions · fixed in 1.17.6-1ubuntu4.4
  • libheifSUSE:Linux Enterprise Server for SAP applications 16.0all versions · fixed in 1.23.0-160000.1.1
  • libheifSUSE:Linux Enterprise Server 16.0all versions · fixed in 1.23.0-160000.1.1
  • libheifSUSE:Linux Enterprise Module for Package Hub 15 SP7all versions · fixed in 1.23.0-150700.3.15.1

11 more package ranges on OSV.dev

Vendor advisories

  • CVE-2026-47247 Red Hat Product Security

    libheif: libheif: Information disclosure via crafted AVIF/HEIC files

Full record on NVD

Fix

  1. Update Struktur libheif to 1.22.0

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • NVDCVE recordread 2026-10-25
  • CISA-ADPSSVC decisionpoc2026-07-22
  • CNACVSS 3.17.5known since 2026-10-25
  • CNAweakness (CWE)CWE-200, CWE-226, CWE-682, CWE-908known since 2026-10-25
  • FIRST EPSSEPSS score0.5 %2026-11-09
  • OSVaffected packages—

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Published
2026-07-21
Last Modified
2026-10-24
NVD status
Analyzed

Frequently asked questions

What is CVE-2026-47247?

libheif is a HEIF and AVIF file format decoder and encoder. Prior to version 1.22.0, two bugs in libheif chain to leak process heap memory as visible pixel values in decoded grid images. An attacker who uploads a crafted AVIF/HEIC file to any server-side image processor (WordPress, Sharp/libvips, ImageMagick, etc.) can recover heap data - including library function pointers sufficient to defeat ASLR, or any other secret - from the publicly-downloadable transcoded JPEG/PNG/WebP output. Local attack vectors are also possible. Version 1.22.0 fixes the issue.

Is CVE-2026-47247 actively exploited?

A proof-of-concept exploit exists for CVE-2026-47247, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2026-47247?

CVE-2026-47247 has a CVSS v3 base score of 7.5 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.

Running libheif? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record