CVE-2026-32740
CVE-2026-32740 is a high-severity vulnerability in Struktur Libheif with a CVSS 3.x base score of 8.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-787.
Key facts
- Severity: High (CVSS 3.x base score 8.8)
- EPSS exploit prediction: 1% (40th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-30978
- Weakness: CWE-787
- Affected product: Struktur Libheif
- Published:
- Last modified:
Description
libheif is a HEIF and AVIF file format decoder and encoder. Versions 1.21.2 and prior contain a heap-buffer-overflow (write) vulnerability in the grid tile compositing, allowing an attacker to write 64 bytes of fully attacker-controlled data past the end of a chroma plane heap allocation by crafting a HEIF/AVIF file with a 1×4 grid of odd-height tiles. The overflow is triggered during normal image decoding with default build configuration. The written bytes are chroma (Cb/Cr) pixel values from the attacking tile, giving the attacker full control over the overflow content. This issue has been fixed in version 1.22.0.
Frequently asked questions
- What is CVE-2026-32740?
- libheif is a HEIF and AVIF file format decoder and encoder. Versions 1.21.2 and prior contain a heap-buffer-overflow (write) vulnerability in the grid tile compositing, allowing an attacker to write 64 bytes of fully attacker-controlled data past the end of a chroma plane heap allocation by crafting a HEIF/AVIF file with a 1×4 grid of odd-height tiles. The overflow is triggered during normal image decoding with default build configuration. The written bytes are chroma (Cb/Cr) pixel values from the attacking tile, giving the attacker full control over the overflow content. This issue has been fixed in version 1.22.0.
- How severe is CVE-2026-32740?
- CVE-2026-32740 has a CVSS 3.x base score of 8.8, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2026-32740 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (40th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-32740?
- CVE-2026-32740 affects Struktur Libheif. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-32740?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2026-32740 have an EU (EUVD) identifier?
- Yes. CVE-2026-32740 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-30978.
- When was CVE-2026-32740 published?
- CVE-2026-32740 was published on 2026-05-19 and last updated on 2026-06-30.
References
- https://github.com/strukturag/libheif/releases/tag/v1.22.0
- https://github.com/strukturag/libheif/security/advisories/GHSA-frfr-f3vg-2g6j
- https://access.redhat.com/security/cve/CVE-2026-32740
- https://bugzilla.redhat.com/show_bug.cgi?id=2479969
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-32740.json
Affected products (1)
- cpe:2.3:a:struktur:libheif:*:*:*:*:*:*:*:*
More vulnerabilities in Struktur Libheif
- CVE-2023-49464 — High (CVSS 8.8): libheif v1.17.5 was discovered to contain a segmentation violation via the function…
- CVE-2023-49463 — High (CVSS 8.8): libheif v1.17.5 was discovered to contain a segmentation violation via the function find_exif_tag at /libheif/exif.cc.
- CVE-2023-49462 — High (CVSS 8.8): libheif v1.17.5 was discovered to contain a segmentation violation via the component /libheif/exif.cc.
- CVE-2023-49460 — High (CVSS 8.8): libheif v1.17.5 was discovered to contain a segmentation violation via the function…
- CVE-2020-19499 — High (CVSS 8.8): An issue was discovered in heif::Box_iref::get_references in libheif 1.4.0, allows attackers to cause a Denial of…
- CVE-2020-19498 — High (CVSS 8.8): Floating point exception in function Fraction in libheif 1.4.0, allows attackers to cause a Denial of Service or…
All CVEs affecting Struktur Libheif →
Other CWE-787 (Out-of-bounds Write) vulnerabilities
- CVE-2026-42369 — Critical (CVSS 10.0): GV-VMS V20 is a Video Monitoring Software used to gather the feeds of many surveillance cameras and manage other…
- CVE-2026-4746 — Critical (CVSS 10.0): Out-of-bounds Write vulnerability in timeplus-io proton (base/poco/Foundation/src modules). This vulnerability is…
- CVE-2025-43300 — Critical (CVSS 10.0): An out-of-bounds write issue was addressed with improved bounds checking. This issue is fixed in iOS 15.8.5 and iPadOS…
- CVE-2025-24201 — Critical (CVSS 10.0): An out-of-bounds write issue was addressed with improved checks to prevent unauthorized actions. This issue is fixed in…
- CVE-2024-42479 — Critical (CVSS 10.0): llama.cpp provides LLM inference in C/C++. The unsafe `data` pointer member in the `rpc_tensor` structure can cause…
- CVE-2024-39791 — Critical (CVSS 10.0): Stack-based buffer overflow vulnerabilities affecting Vonets industrial wifi bridge relays and wifi bridge…