6.1

CVE-2026-47714: libheif has integer overflow in inline mask size calculation that causes undersized buffer allocation

Analyzed
AliasesUBUNTU-CVE-2026-47714DEBIAN-CVE-2026-47714
Published 21-07-2026Last modified 22-07-2026

Vulnerability summary

CVE-2026-47714 is a medium (CVSS 6.1) Integer Overflow or Wraparound vulnerability in struktur libheif. EPSS estimates a 0.11% chance of exploitation in the next 30 days, higher than 1.2% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.1, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.1/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.11%
0%100%
Low · -0.05 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 7 · Related 6

Timeline

  1. 21-07-2026
    PublishedVulnerability first disclosed.
  2. 22-07-2026
    Last modifiedVulnerability information updated.

Description

libheif is a HEIF and AVIF file format decoder and encoder. In versions 1.21.2 and prior, the inline mask parsing code in `libheif/region.cc` contains an integer overflow. Both `width` and `height` are `unsigned int` (32-bit) values parsed from the HEIF file. Their product can exceed `UINT32_MAX`, wrapping to a small value before the division by 8. This causes an undersized buffer allocation, leading to out-of-bounds memory access when the mask data is later interpreted as a `width x height` bitmap. Version 1.22.0 patches the issue.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.11%

Chance of exploitation in the next 30 days

Percentile

1%

Versus all other CVEs

30-day change

Decrease -0.05 pp

From 0.15% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Debian1 product
  • libheifAll versions (No fix recorded) | < 1.19.8-1+deb13u1 | < 1.23.1-1
Struktur1 product
Strukturag1 product
Ubuntu1 product
  • libheif< 1.17.6-1ubuntu4.6 | < 1.20.2-1ubuntu0.6 | < 1.21.2-3ubuntu0.3

4 vendors · 4 products

References

6 links