CVE-2026-47254: libheif Has Heap Buffer Overflow in `Track::get_next_sample_raw_data()` -- OOB Chunk Vector Access

Published Jul 21, 2026
·
Updated

Last updated 10 July 2026

Other sources

libheif is a HEIF and AVIF file format decoder and encoder. Prior to version 1.22.0, Track::initsampletimingtable() in libheif/sequences/track.cc stores an out-of-bounds chunk index (mchunks.size()) into mpresentationtimeline when the number of chunks defined in the stco box is less than the number of samples in stsz. A subsequent call to heiftrackgetnextrawsequencesample() reads mchunks[chunkidx] with that OOB index, causing a heap-buffer-overflow. Version 1.22.0 fixes the issue.

MITRE

Affected Software

2 affected componentsFixes available
debian/libheif<=1.11.0-1, <=1.11.0-1+deb11u2, <=1.15.1-1+deb12u1, <=1.19.8-1, <=1.21.2-4
1.23.1-1
struktur Libheif<1.22.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/libheif to a version that resolves this vulnerability.

    Fixed in 1.23.1-1
  2. Upgrade

    Upgrade libheif to a version that resolves this vulnerability.

    Fixed in 1.22.0Patch Version 1.22.0

Event History

Jul 9, 2026
Data Sourced
via Debian·09:52 PM
DescriptionAffected Software
Jul 11, 2026
Data Sourced
via Ubuntu·09:54 PM
RemedyDescriptionSeverityAffected Software
Jul 21, 2026
CVE Published
via MITRE·09:21 PM
Data Sourced
via MITRE·09:21 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:17 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-47254?

CVE-2026-47254 has a medium severity rating of 6.1.

2

How do I fix CVE-2026-47254?

To fix CVE-2026-47254, upgrade to libheif version 1.22.0 or later.

3

What is the impact of CVE-2026-47254?

CVE-2026-47254 can lead to a heap buffer overflow due to out-of-bounds chunk vector access.

4

Is CVE-2026-47254 exploitable remotely?

Yes, CVE-2026-47254 is potentially exploitable remotely as it involves user inputs.

5

Which software is affected by CVE-2026-47254?

CVE-2026-47254 affects debian/libheif and the struktur Libheif software.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203