CVE-2026-62291
Last modified
CVE-2026-62291 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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. EPSS estimates a 0.13% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| strukturag | libheif | < 1.23.1 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-62291?
How severe is CVE-2026-62291?
How do I fix CVE-2026-62291?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-62283Nezha Monitoring is a self-hostable, lightweight, servers an…9.9
- CVE-2026-62286Dozzle is a realtime log viewer for docker containers. Prior…4.3
- CVE-2026-62287Rejected reason: ** REJECT ** DO NOT USE THIS CANDIDATE NUMB…
- CVE-2026-62289libheif is a HEIF and AVIF file format decoder and encoder. …4.3
- CVE-2026-6229The Royal Elementor Addons plugin for WordPress is vulnerabl…7.2
- CVE-2026-62290cert-manager adds certificates and certificate issuers as re…7.3
- CVE-2026-62292libheif is a HEIF and AVIF file format decoder and encoder. …8.7
- CVE-2026-62293HAPI FHIR is a complete implementation of the HL7 FHIR stand…5
- CVE-2026-62294Flameshot is powerful yet simple to use screenshot software.…5.1
- CVE-2026-62295HAPI FHIR is a complete implementation of the HL7 FHIR stand…7.5
- CVE-2026-62296HAPI FHIR is a complete implementation of the HL7 FHIR stand…7.5
- CVE-2026-62299CoreDNS is a DNS server written in Go. Prior to 1.14.5, the …5.3
Are you affected by CVE-2026-62291?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
