🛡️ CVE-2026-49271 on Ubuntu — libheif
Description
libheif is a HEIF and AVIF file format decoder and encoder. Prior to version 1.22.1, the uncompressed HEIF decoder validates explicit icef compressed-unit offsets using unit_offset + unit_size. Because the addition can wrap, a crafted HEIF file can pass the range check and then construct a vector from iterators outside the compressed item buffer, producing an out-of-bounds heap read and crash. Version 1.22.1 patches the issue.
Distribution advisory
This page covers CVE-2026-49271 as tracked by Ubuntu, for the package libheif. The fix is available in version 1.21.2-3ubuntu0.2; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. A user must be tricked into taking some action. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity none, availability high.
Affected software
UBUNTU-CVE-2026-49271 is recorded against 1 package.
- libheif (fixed in 1.21.2-3ubuntu0.2)
Timeline and source
Published on 19 June 2026 and last revised on 29 June 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
ubuntu.com (Report)
www.cve.org (Report)
github.com (Report)
ubuntu.com (Advisory)
Details
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| libheif | — | 1.21.2-3ubuntu0.2 |
References
Similar Threats
- Unknown BELL-CVE-2026-47247
- Unknown BELL-CVE-2026-47251
- Unknown BELL-CVE-2026-47254
- Unknown BELL-CVE-2026-47709
- Unknown BELL-CVE-2026-47714
More UBUNTU CVE 2026 advisories
Browse all of UBUNTU CVE 2026 in the advisory index.
- UBUNTU-CVE-2026-49158
- UBUNTU-CVE-2026-49214
- UBUNTU-CVE-2026-49218
- UBUNTU-CVE-2026-49219
- UBUNTU-CVE-2026-49241
- UBUNTU-CVE-2026-49261
- UBUNTU-CVE-2026-49268
- UBUNTU-CVE-2026-49270
- UBUNTU-CVE-2026-49284
- UBUNTU-CVE-2026-49295
- UBUNTU-CVE-2026-49299
- UBUNTU-CVE-2026-49300
- UBUNTU-CVE-2026-49337
- UBUNTU-CVE-2026-49342
- UBUNTU-CVE-2026-49346
- UBUNTU-CVE-2026-49356
Vulnerability Monitoring
Track new vulnerabilities in libheif
UBUNTU-CVE-2026-49271 is rated CVSS 6.5 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.
Set Up Free Alerts →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.