CVE-2026-32741

Severity: Medium
Published: 2026-05-19

Fix Status by Distribution

Fixed in 8 of 27 tracked Linux releases

Fix evidence last checked: 2026-11-25 18:07 UTC

Get alerted when your releases are fixed
Fixed in:
  • Debian 12 (Bookworm)

  • Debian 13 (Trixie)

  • SUSE Linux Enterprise Server 15 SP7

  • SUSE Linux Enterprise Server 16

  • Ubuntu 22.04 LTS (Jammy Jellyfish)

  • Ubuntu 24.04 LTS (Noble Numbat)

  • Ubuntu 25.10 (Questing Quokka)

  • Ubuntu 26.04 LTS (Resolute Raccoon)

No fix evidence found:
AlmaLinux 10
AlmaLinux 8
AlmaLinux 9
Debian 11 (Bullseye)
Oracle Linux 10
Oracle Linux 8
Oracle Linux 9
Red Hat Enterprise Linux 10
Red Hat Enterprise Linux 7 (Extended Lifecycle Support)
Red Hat Enterprise Linux 8
Red Hat Enterprise Linux 9
Rocky Linux 10
Rocky Linux 8
Rocky Linux 9
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP6
Ubuntu 25.04 (Plucky Puffin)
Ubuntu 26.10 (Stonking Stingray)
Interested in being alerted when these distributions have fixes? Set up an alert.

libheif is a HEIF and AVIF file format decoder and encoder. Versions 1.21.2 and below contain a heap buffer overflow in MaskImageCodec::decode_mask_image(). When decoding a HEIF file containing a mask image (mski), the function copies the full iloc extent data into a pixel buffer using memcpy(dst, data.data(), data.size()). The copy length data.size() is determined by the iloc extent in the file (attacker-controlled), while the destination buffer is sized based on the declared image dimensions. Because no upper-bound check exists on the data length, a crafted file whose iloc extent exceeds the pixel buffer allocation overflows the heap. The vulnerable single-memcpy branch is reached when the mskC property specifies bits_per_pixel = 8 and the ispe property declares an even width ≥ 64 (so that stride == width), with no changes to default security limits or external codec plugins required. This issue has been fixed in version 1.22.0.

Exploit evidence

Public proof of concept reported

Last checked: 2026-07-31 19:17 UTC

  • Proof of concept · CISA Coordinator (Assessed 2026-05-20 14:37 UTC)

NVD evidence for CVE-2026-32741 is reported, not independently verified by Package Alert. It does not establish exploit reliability or applicability to a particular package or environment.