CVE-2026-84449libheif hOp_RGB24_32_to_YCbCr Memory Access Error / SEGV
libheif is a HEIF and AVIF file format decoder and encoder. Prior to 1.19.6, Op_RGB24_32_to_YCbCr::convert_colorspace() stores image-plane strides in an integer width that can overflow for extremely large RGB images created through heif_image_create() and heif_image_add_plane(). The resulting wrapped stride causes the conversion loop in libheif/color-conversion/rgb2yuv.cc to compute an invalid input pointer and read beyond the allocated interleaved plane while heif_context_encode_image() performs RGB-to-YCbCr conversion. This can crash the encoding process. This issue is fixed in version 1.19.6.
What to do
Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | libheif | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | libheif | Fixed | 1.17.6-1ubuntu4.9 | UBUNTU-CVE-2026-84449 |
| Ubuntu 22.04 | libheif | Fix pending | 1.12.0-2ubuntu0.1~esm5 (Ubuntu Pro) | UBUNTU-CVE-2026-84449 |
| Ubuntu 20.04 | libheif | Fix pending | 1.6.1-1ubuntu0.1~esm5 (Ubuntu Pro) | UBUNTU-CVE-2026-84449 |
| Ubuntu 18.04 | libheif | Fix pending | 1.1.0-2ubuntu0.1~esm5 (Ubuntu Pro) | UBUNTU-CVE-2026-84449 |
| Debian 14 | libheif | Fixed | 1.19.7-1 | DEBIAN-CVE-2026-84449 |
| Debian 13 | libheif | Fixed | 1.19.7-1 | DEBIAN-CVE-2026-84449 |
| Debian 12 | libheif | Fix pending | DEBIAN-CVE-2026-84449 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- strukturag libheif: affected: < 1.19.6
References
- https://github.com/strukturag/libheif/security/advisories/GHSA-2c3g-p585-8rpq
- https://github.com/strukturag/libheif/commit/e29953da30eb11aa1762df0bff3b36be4b22fbe3
- https://github.com/strukturag/libheif/releases/tag/v1.19.6
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.