
CVE catalog
CVE-2026-49271
libheif is a HEIF and AVIF file format decoder and…
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.
- Severity
- Medium · CVSS 6.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.36% · Oct 27, 2026
Projects and upstream resources
Reported versions and fixes
Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.
Version impact has not been established. The original provider fields are retained below.
Provider details and historical evidence
Original provider fields
{
"package_releases": [
{
"name": "libheif",
"status": "fixed",
"release": "sid",
"version": "1.23.6-2"
},
{
"name": "libheif",
"status": "fixed",
"release": "forky",
"version": "1.23.6-2"
},
{
"name": "libheif",
"status": "fixed",
"release": "trixie",
"version": "1.19.8-1+deb13u1"
},
{
"name": "libheif",
"status": "fixed",
"release": "trixie-security",
"version": "1.23.6-2~deb13u1"
},
{
"name": "libheif",
"status": "vulnerable",
"release": "bookworm",
"version": "1.15.1-1+deb12u1"
},
{
"name": "libheif",
"status": "vulnerable",
"release": "bookworm-security",
"version": "1.15.1-1+deb12u1"
}
],
"fixed_versions": [
{
"bug": 1140479,
"name": "libheif",
"type": "source",
"origin": null,
"release": "sid",
"urgency": "not yet assigned",
"fixed_version": "1.23.1-1"
},
{
"bug": 1140479,
"name": "libheif",
"type": "source",
"origin": null,
"release": "forky",
"urgency": "not yet assigned",
"fixed_version": "1.23.1-1"
},
{
"bug": 1140479,
"name": "libheif",
"type": "source",
"origin": null,
"release": "trixie",
"urgency": "not yet assigned",
"fixed_version": "1.19.8-1+deb13u1"
},
{
"bug": 1140479,
"name": "libheif",
"type": "source",
"origin": null,
"release": "bookworm",
"urgency": "not yet assigned",
"fixed_version": ""
}
],
"distribution_packages": [
{
"name": "libheif",
"ecosystem": "cpe",
"fixed_version": "not yet fixed"
},
{
"name": "libheif",
"ecosystem": "cpe",
"fixed_version": "1.22.1"
},
{
"name": "libheif",
"distro": "ubuntu",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.21.2-3ubuntu0.2"
}
]
}
],
"release": "26.04",
"versions": [
"1.20.2-1",
"1.20.2-2",
"1.20.2-2build1",
"1.20.2-2build2",
"1.20.2-2ubuntu1",
"1.21.2-1",
"1.21.2-3",
"1.21.2-3ubuntu0.1"
],
"ecosystem": "deb",
"fixed_version": "1.21.2-3ubuntu0.2",
"provider_record_id": "UBUNTU-CVE-2026-49271"
},
{
"name": "libheif",
"distro": "opensuse",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.23.0-2.1"
}
]
}
],
"release": "tumbleweed",
"versions": [],
"ecosystem": "rpm",
"fixed_version": "1.23.0-2.1",
"provider_record_id": "OPENSUSE-SU-2026:10983-1"
},
{
"name": "libheif",
"distro": "fedora",
"release": "43",
"versions": [
"0:1.23.5-3.fc43"
],
"ecosystem": "rpm",
"vendor_status": "fixed",
"provider_record_id": "FEDORA-2026-022FF83E3E#CVE-2026-49271"
},
{
"name": "libheif",
"ranges": [
{
"fixed": "1.22.1",
"introduced": "",
"last_affected": "",
"start_excluding": ""
}
],
"ecosystem": "cpe",
"fixed_version": "1.22.1",
"provider_record_id": "NVD-CVE-2026-49271"
}
]
}OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [heif-gdk-pixbuf]Unknown
Source package: [libheif]
Details (6)
1.15.1-1+deb12u1· amd64 · bookwormAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.15.1-1+deb12u1· arm64 · bookwormAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.19.7-1~bpo12+1· amd64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.19.7-1~bpo12+1· arm64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.15.1-1+deb12u1· amd64 · bookworm-securityAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.15.1-1+deb12u1· arm64 · bookworm-securityAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
- [heif-thumbnailer]Unknown
Source package: [libheif]
Details (6)
1.15.1-1+deb12u1· amd64 · bookwormAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.15.1-1+deb12u1· arm64 · bookwormAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.19.7-1~bpo12+1· amd64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.19.7-1~bpo12+1· arm64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.15.1-1+deb12u1· amd64 · bookworm-securityAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.15.1-1+deb12u1· arm64 · bookworm-securityAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
- [libheif1]Unknown
Source package: [libheif]
Details (6)
1.15.1-1+deb12u1· amd64 · bookwormAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.15.1-1+deb12u1· arm64 · bookwormAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.19.7-1~bpo12+1· amd64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.19.7-1~bpo12+1· arm64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.15.1-1+deb12u1· amd64 · bookworm-securityAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.15.1-1+deb12u1· arm64 · bookworm-securityAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
- [libheif-dev]Unknown
Source package: [libheif]
Details (6)
1.15.1-1+deb12u1· amd64 · bookwormAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.15.1-1+deb12u1· arm64 · bookwormAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.19.7-1~bpo12+1· amd64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.19.7-1~bpo12+1· arm64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.15.1-1+deb12u1· amd64 · bookworm-securityAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.15.1-1+deb12u1· arm64 · bookworm-securityAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
- [libheif-examples]Unknown
Source package: [libheif]
Details (6)
1.15.1-1+deb12u1· amd64 · bookwormAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.15.1-1+deb12u1· arm64 · bookwormAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.19.7-1~bpo12+1· amd64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.19.7-1~bpo12+1· arm64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.15.1-1+deb12u1· amd64 · bookworm-securityAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.15.1-1+deb12u1· arm64 · bookworm-securityAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
- [libheif-plugin-aomdec]Unknown
Source package: [libheif]
Details (2)
1.19.7-1~bpo12+1· amd64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.19.7-1~bpo12+1· arm64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
- [libheif-plugin-aomenc]Unknown
Source package: [libheif]
Details (2)
1.19.7-1~bpo12+1· amd64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.19.7-1~bpo12+1· arm64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
- [libheif-plugin-dav1d]Unknown
Source package: [libheif]
Details (2)
1.19.7-1~bpo12+1· amd64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.19.7-1~bpo12+1· arm64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
- [libheif-plugin-ffmpegdec]Unknown
Source package: [libheif]
Details (2)
1.19.7-1~bpo12+1· amd64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.19.7-1~bpo12+1· arm64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
- [libheif-plugin-j2kdec]Unknown
Source package: [libheif]
Details (2)
1.19.7-1~bpo12+1· amd64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.19.7-1~bpo12+1· arm64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
- [libheif-plugin-j2kenc]Unknown
Source package: [libheif]
Details (2)
1.19.7-1~bpo12+1· amd64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.19.7-1~bpo12+1· arm64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
- [libheif-plugin-jpegdec]Unknown
Source package: [libheif]
Details (2)
1.19.7-1~bpo12+1· amd64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.19.7-1~bpo12+1· arm64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
- [libheif-plugin-jpegenc]Unknown
Source package: [libheif]
Details (2)
1.19.7-1~bpo12+1· amd64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.19.7-1~bpo12+1· arm64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
- [libheif-plugin-libde265]Unknown
Source package: [libheif]
Details (2)
1.19.7-1~bpo12+1· amd64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.19.7-1~bpo12+1· arm64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
- [libheif-plugin-rav1e]Unknown
Source package: [libheif]
Details (2)
1.19.7-1~bpo12+1· amd64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.19.7-1~bpo12+1· arm64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
- [libheif-plugins-all]Unknown
Source package: [libheif]
Details (2)
1.19.7-1~bpo12+1· amd64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.19.7-1~bpo12+1· arm64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
- [libheif-plugin-svtenc]Unknown
Source package: [libheif]
Details (2)
1.19.7-1~bpo12+1· amd64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.19.7-1~bpo12+1· arm64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
- [libheif-plugin-x265]Unknown
Source package: [libheif]
Details (2)
1.19.7-1~bpo12+1· amd64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.19.7-1~bpo12+1· arm64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
[Debian 13 (Trixie)]
- [heif-gdk-pixbuf]Unknown
Source package: [libheif]
Details (6)
1.19.8-1· amd64 · trixieAffected · Fixed:
1.19.8-1+deb13u1nvd · libheif · debian · 13
1.19.8-1· arm64 · trixieAffected · Fixed:
1.19.8-1+deb13u1nvd · libheif · debian · 13
1.19.8-1+deb13u1· amd64 · trixie-security · Historical versionFixed · Fixed:
1.19.8-1+deb13u1nvd · libheif · debian · 13
1.19.8-1+deb13u1· arm64 · trixie-securityFixed · Fixed:
1.19.8-1+deb13u1nvd · libheif · debian · 13
1.23.4-1~deb13u1· amd64 · trixie-security · Historical versionFixed · Fixed:
1.19.8-1+deb13u1nvd · libheif · debian · 13
1.23.6-2~deb13u1· amd64 · trixie-securityFixed · Fixed:
1.19.8-1+deb13u1nvd · libheif · debian · 13
- [heif-thumbnailer]Unknown
Source package: [libheif]
Details (6)
1.19.8-1· amd64 · trixieAffected · Fixed:
1.19.8-1+deb13u1nvd · libheif · debian · 13
1.19.8-1· arm64 · trixieAffected · Fixed:
1.19.8-1+deb13u1nvd · libheif · debian · 13
1.19.8-1+deb13u1· amd64 · trixie-security · Historical versionFixed · Fixed:
1.19.8-1+deb13u1nvd · libheif · debian · 13
1.19.8-1+deb13u1· arm64 · trixie-securityFixed · Fixed:
1.19.8-1+deb13u1nvd · libheif · debian · 13
1.23.4-1~deb13u1· amd64 · trixie-security · Historical versionFixed · Fixed:
1.19.8-1+deb13u1nvd · libheif · debian · 13
1.23.6-2~deb13u1· amd64 · trixie-securityFixed · Fixed:
1.19.8-1+deb13u1nvd · libheif · debian · 13
Observed:
References
- [https://bodhi.fedoraproject.org/updates/FEDORA-2026-022ff83e3e]
- [https://bugzilla.redhat.com/show_bug.cgi?id=2426449]
- [https://bugzilla.redhat.com/show_bug.cgi?id=2446924]
- [https://bugzilla.redhat.com/show_bug.cgi?id=2489146]
- [https://bugzilla.redhat.com/show_bug.cgi?id=2494766]
- [https://bugzilla.redhat.com/show_bug.cgi?id=2506067]
- [https://bugzilla.redhat.com/show_bug.cgi?id=2506070]
- [https://bugzilla.redhat.com/show_bug.cgi?id=2506071]
- [https://bugzilla.redhat.com/show_bug.cgi?id=2539257]
- [https://bugzilla.redhat.com/show_bug.cgi?id=2539259]
- [https://bugzilla.redhat.com/show_bug.cgi?id=2539261]
- [https://bugzilla.redhat.com/show_bug.cgi?id=2539264]
- [https://bugzilla.redhat.com/show_bug.cgi?id=2539266]
- [https://bugzilla.redhat.com/show_bug.cgi?id=2539269]
- [https://bugzilla.redhat.com/show_bug.cgi?id=2539271]
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_10983-1.json]
- [https://github.com/strukturag/libheif/security/advisories/GHSA-r7qj-cg5r-r6vf]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-49271]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-49271]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-49271]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:10983-1]
- [https://security-tracker.debian.org/tracker/CVE-2026-49271]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-49271.json]
[Debian Security Tracker] · [FIRST EPSS] · [Fedora security updates (Bodhi)] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]