CVE-2026-62291
published 2026-08-18CVE-2026-62291: libheif is a HEIF and AVIF file format decoder and encoder. In 1.23.0 and earlier, a crafted image sequence with a 2x2 primary plane and a 256x256 auxiliary…
PriorityP426medium5.3CVSS 3.1
AVLACLPRNUIRSUCLILAL
EPSS
0.16%
5.1th percentile
libheif is a HEIF and AVIF file format decoder and encoder. In 1.23.0 and earlier, a crafted image sequence with a 2x2 primary plane and a 256x256 auxiliary alpha plane can cause attacker-controlled heap corruption during a normal decode and re-encode workflow. Track_Visual::decode_next_image_sample() calls transfer_channel_from_image_as() without checking that the auxiliary alpha dimensions match the main frame. The resulting inconsistent image reaches heif_track_decode_next_image() and then heif_context_encode_image(). In unc_encoder::encode(), unc_encoder_component_interleave::encode_tile() sizes its buffer with compute_tile_data_size_bytes() using the primary dimensions but copies each component using its actual plane dimensions. The oversized alpha plane is therefore copied beyond the allocation, causing an out-of-bounds write; the inverse size mismatch can also produce an out-of-bounds read. This issue is fixed in version 1.23.1.
Affected
2 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| strukturag | libheif | < 1.23.1 | 1.23.1 |
| ubuntu | libheif | — | — |
CVSS provenance
nvdv3.15.3MEDIUMCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
vendor_ubuntu5.3MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
libheif vulnerabilities
vendor_ubuntu·2026-09-16·CVSS 5.3
CVE-2026-62291 [MEDIUM] libheif vulnerabilities
Title: libheif vulnerabilities
Summary: Several security issues were fixed in libheif.
Ali Firas discovered that libheif incorrectly handled certain images. An
attacker could possibly use this issue to cause a denial of service or
execute arbitrary code. (CVE-2026-62291)
Dmitrijs Trizna discovered that libheif incorrectly handled certain image
sequences. An attacker could possibly use this issue to cause a denial of
service. (CVE-2026-62377)
Instructions: In general, a standard system update will make all the necessary changes.
Ubuntu
libheif vulnerabilities
vendor_ubuntu·2026-08-26·CVSS 4.3
CVE-2026-62291 [MEDIUM] libheif vulnerabilities
Title: libheif vulnerabilities
Summary: Several security issues were fixed in libheif.
Feng Ning discovered that libheif incorrectly handled certain image
transforms. A remote attacker could possibly use this issue to cause a
denial of service. This issue only affected Ubuntu 18.04 LTS, Ubuntu
20.04 LTS, and Ubuntu 22.04 LTS. (CVE-2026-62289)
Ali Firas discovered that libheif incorrectly handled certain images. An
attacker could possibly use this issue to cause a denial of service or
execute arbitrary code. This issue only affected Ubuntu 24.04 LTS.
(CVE-2026-62291)
Instructions: In general, a standard system update will make all the necessary changes.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2026-62291 libheif: libheif: Arbitrary code execution via heap corruption in image processing [epel-all]
bugzilla·2026-08-24·CVSS 5.3
CVE-2026-62291 [MEDIUM] CVE-2026-62291 libheif: libheif: Arbitrary code execution via heap corruption in image processing [epel-all]
CVE-2026-62291 libheif: libheif: Arbitrary code execution via heap corruption in image processing [epel-all]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
libheif is a HEIF and AVIF file format decoder and encoder. In 1.23.0 and earlier, a crafted image sequence with a 2x2 primary plane and a 256x256 auxiliary alpha plane can cause attacker-controlled heap corruption during a normal decode and re-encode workflow. Track_Visual::decode_next_image_sample() calls transfer_channel_from_image_as() without checking that the auxiliary alpha dimensions match the main frame. The resulting inconsistent image reaches heif_tr
Bugzilla
CVE-2026-62291 libheif: libheif: Arbitrary code execution via heap corruption in image processing [fedora-all]
bugzilla·2026-08-24·CVSS 5.3
CVE-2026-62291 [MEDIUM] CVE-2026-62291 libheif: libheif: Arbitrary code execution via heap corruption in image processing [fedora-all]
CVE-2026-62291 libheif: libheif: Arbitrary code execution via heap corruption in image processing [fedora-all]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
libheif is a HEIF and AVIF file format decoder and encoder. In 1.23.0 and earlier, a crafted image sequence with a 2x2 primary plane and a 256x256 auxiliary alpha plane can cause attacker-controlled heap corruption during a normal decode and re-encode workflow. Track_Visual::decode_next_image_sample() calls transfer_channel_from_image_as() without checking that the auxiliary alpha dimensions match the main frame. The resulting inconsistent image reaches heif_
Bugzilla
CVE-2026-62291 libheif: libheif: Arbitrary code execution via heap corruption in image processing
bugzilla·2026-08-18·CVSS 5.3
CVE-2026-62291 [MEDIUM] CVE-2026-62291 libheif: libheif: Arbitrary code execution via heap corruption in image processing
CVE-2026-62291 libheif: libheif: Arbitrary code execution via heap corruption in image processing
libheif is a HEIF and AVIF file format decoder and encoder. In 1.23.0 and earlier, a crafted image sequence with a 2x2 primary plane and a 256x256 auxiliary alpha plane can cause attacker-controlled heap corruption during a normal decode and re-encode workflow. Track_Visual::decode_next_image_sample() calls transfer_channel_from_image_as() without checking that the auxiliary alpha dimensions match the main frame. The resulting inconsistent image reaches heif_track_decode_next_image() and then heif_context_encode_image(). In unc_encoder::encode(), unc_encoder_component_interleave::encode_tile() sizes its buffer with compute_tile_data_size_bytes() using the primary dimensions but copies each co
Bugzilla
CVE-2025-62291 strongswan: From CVEorg collector [epel-10]
bugzilla·2026-01-16·CVSS 8.1
CVE-2025-62291 [HIGH] CVE-2025-62291 strongswan: From CVEorg collector [epel-10]
CVE-2025-62291 strongswan: From CVEorg collector [epel-10]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
Discussion:
FEDORA-EPEL-2026-9b6d13e4b9 (strongswan-6.0.6-1.el10_3) has been submitted as an update to Fedora EPEL 10.3.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-9b6d13e4b9
---
FEDORA-EPEL-2026-9b6d13e4b9 has been pushed to the Fedora EPEL 10.3 testing repository.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-9b6d13e4b9
See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
Bugzilla
CVE-2025-62291 strongswan: From CVEorg collector [fedora-43]
bugzilla·2026-01-16·CVSS 8.1
CVE-2025-62291 [HIGH] CVE-2025-62291 strongswan: From CVEorg collector [fedora-43]
CVE-2025-62291 strongswan: From CVEorg collector [fedora-43]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
Discussion:
Should be fixed by a rebase to 6.0.4
---
FEDORA-2026-6888affe44 (strongswan-6.0.4-2.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-6888affe44
---
FEDORA-2026-6888affe44 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-6888affe44`
You can provide feedback for this update here: https://
Bugzilla
CVE-2025-62291 strongswan: From CVEorg collector [epel-9]
bugzilla·2026-01-16·CVSS 8.1
CVE-2025-62291 [HIGH] CVE-2025-62291 strongswan: From CVEorg collector [epel-9]
CVE-2025-62291 strongswan: From CVEorg collector [epel-9]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
Discussion:
FEDORA-EPEL-2026-ea9af18b11 (strongswan-6.0.6-1.el9) has been submitted as an update to Fedora EPEL 9.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-ea9af18b11
---
FEDORA-EPEL-2026-ea9af18b11 has been pushed to the Fedora EPEL 9 testing repository.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-ea9af18b11
See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
Bugzilla
CVE-2025-62291 strongswan: From CVEorg collector [epel-8]
bugzilla·2026-01-16·CVSS 8.1
CVE-2025-62291 [HIGH] CVE-2025-62291 strongswan: From CVEorg collector [epel-8]
CVE-2025-62291 strongswan: From CVEorg collector [epel-8]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
Discussion:
FEDORA-EPEL-2026-2d8dd834d8 (strongswan-6.0.6-1.el8) has been submitted as an update to Fedora EPEL 8.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-2d8dd834d8
---
FEDORA-EPEL-2026-2d8dd834d8 has been pushed to the Fedora EPEL 8 testing repository.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-2d8dd834d8
See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
2026-08-18
Published