{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-32741","published":"2026-05-19T21:16:42.073000Z","last_modified":"2026-07-24T09:10:00.153000Z","status":"Deferred","cvss":{"version":"3.1","score":7.1,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-122","CWE-120"],"cpes":[],"cpes_truncated":false,"vendors":["strukturag"],"products":["strukturag/libheif"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":58,"links":{"html_es":"/es/cve/CVE-2026-32741/","html_en":"/en/cve/CVE-2026-32741/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-32741","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-32741"},"untrusted":{"vendor_name":"strukturag","product_name":"libheif","desc_en":"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.","affected":[{"untrusted_vendor":"strukturag","untrusted_product":"libheif","versions":[]},{"untrusted_vendor":"Red Hat","untrusted_product":"Red Hat Enterprise Linux 10","versions":[]}],"references":[{"url":"https://github.com/strukturag/libheif/releases/tag/v1.22.0","tags":[]},{"url":"https://github.com/strukturag/libheif/security/advisories/GHSA-j3w5-7whq-p37q","tags":[]},{"url":"https://access.redhat.com/security/cve/CVE-2026-32741","tags":[]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2480002","tags":[]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-32741.json","tags":[]}]},"bulletins":[{"source":"suse","id":"SUSE-SU-2026:2622-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-20262622-1/","published":"2026-06-24T11:55:36+00:00","severity":"high","exploited":false,"untrusted":{"title":"Security update for libheif"}},{"source":"suse","id":"openSUSE-SU-2026:20974-1","url":"https://www.suse.com/support/update/","published":"2026-06-17T08:37:36+00:00","severity":"high","exploited":false,"untrusted":{"title":"Security update for libheif"}},{"source":"suse","id":"SUSE-SU-2026:22153-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-202622153-1/","published":"2026-06-17T08:36:56+00:00","severity":"high","exploited":false,"untrusted":{"title":"Security update for libheif"}}]}