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.
CVE-2026-32741
This high-severity CVE scores 7.1 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.3%, top 72% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 7.1
- EG Score
- 7.1(medium)
- EG Risk
- 48(Track)EG Risk 48/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity71% × 45%Exploitation40% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 28%
- KEV
- Not listed
Published
May 19, 2026
Last Modified
July 24, 2026
Advisory Details (2)
Auto-updated May 20, 2026heap buffer overflow in decode_mask_image() · Advisory · strukturag/libheif · GitHub
https://github.com/strukturag/libheif/security/advisories/GHSA-j3w5-7whq-p37qRelease v1.22.0 - generic image components, ISO/IEC 23001-17 (lossless images) rewrite · strukturag/libheif · GitHub
https://github.com/strukturag/libheif/releases/tag/v1.22.0Patch Availability(1)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | libheif1 (1.1.0-2ubuntu0.1~esm3) @ bionic | 2026-08-23 | ubuntu |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(4 across 4 ecosystems)
Debian:11(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| libheif | 1.11.0-1 ... 1.23.1-1 (39 versions) | — | — |
Debian:12(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| libheif | 1.15.1-1 ... 1.23.2-1 (34 versions) | — | — |
Debian:13(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| libheif | 1.19.8-1 | 1.19.8-1+deb13u1 | — |
Debian:14(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| libheif | 1.19.8-1 ... 1.21.2-4 (8 versions) | 1.23.1-1 | — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
All Vendor Advisories
(1)
Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.
Data Freshness Timeline
(refreshed 6× in last 7d / 30× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 221 total refreshes for this CVE.
- 2026-09-20 20:15 UTCEPSS rescore
- 2026-09-18 19:28 UTCEPSS rescore
- 2026-09-18 19:28 UTCEPSS rescore
- 2026-09-17 19:30 UTCEPSS rescore
- 2026-09-16 14:08 UTCEPSS rescore
- 2026-09-16 05:15 UTCEPSS rescore
- 2026-09-13 16:47 UTCEPSS rescore
- 2026-09-12 15:01 UTCEPSS rescore
- 2026-09-11 14:52 UTCEPSS rescore
- 2026-09-11 05:53 UTCOSV refresh
- 2026-09-10 09:34 UTCEPSS rescore
- 2026-09-08 22:00 UTCEPSS rescore
- 2026-09-07 16:01 UTCEPSS rescore
- 2026-09-06 13:47 UTCEPSS rescore
- 2026-09-06 13:47 UTCEPSS rescore
- 2026-09-04 05:06 UTCEPSS rescore
- 2026-09-02 14:11 UTCEPSS rescore
- 2026-09-01 13:53 UTCEPSS rescore
- 2026-09-01 04:39 UTCEPSS rescore
- 2026-09-01 04:39 UTCEPSS rescore
- 2026-08-30 19:17 UTCEPSS rescore
- 2026-08-30 01:22 UTCEPSS rescore
- 2026-08-28 21:41 UTCEPSS rescore
- 2026-08-27 14:25 UTCEPSS rescore
- 2026-08-26 14:46 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-08-25 13:49 UTCEPSS rescore
- 2026-08-24 14:17 UTCEPSS rescore
- 2026-08-23 16:59 UTCEG score recompute
- 2026-08-23 16:59 UTCVendor advisory
- 2026-08-23 00:19 UTCEPSS rescore
- 2026-08-21 23:49 UTCEPSS rescore
- 2026-08-21 23:36 UTCEG score recompute
- 2026-08-21 23:36 UTCVendor advisory
- 2026-08-20 22:55 UTCEPSS rescore
- 2026-08-20 22:55 UTCEPSS rescore
- 2026-08-20 18:59 UTCEG score recompute
- 2026-08-20 18:59 UTCVendor advisory
- 2026-08-19 17:03 UTCEPSS rescore
- 2026-08-18 13:48 UTCEPSS rescore
- 2026-08-17 13:47 UTCEPSS rescore
- 2026-08-17 09:58 UTCVendor advisory
- 2026-08-16 16:55 UTCEG score recompute
- 2026-08-16 16:55 UTCVendor advisory
- 2026-08-16 14:56 UTCEPSS rescore
- 2026-08-16 03:33 UTCEG score recompute
- 2026-08-16 03:33 UTCVendor advisory
- 2026-08-16 02:14 UTCEPSS rescore
- 2026-08-15 01:30 UTCEPSS rescore
- 2026-08-15 00:44 UTCVendor advisory
- 2026-08-14 13:24 UTCVendor advisory
- 2026-08-14 02:05 UTCEG score recompute
- 2026-08-14 02:05 UTCVendor advisory
- 2026-08-13 22:00 UTCEPSS rescore
- 2026-08-13 01:40 UTCVendor advisory
- 2026-08-12 14:21 UTCEG score recompute
- 2026-08-12 14:21 UTCVendor advisory
- 2026-08-12 13:50 UTCEPSS rescore
- 2026-08-12 01:11 UTCVendor advisory
- 2026-08-11 13:52 UTCEG score recompute
- 2026-08-11 13:52 UTCVendor advisory
- 2026-08-11 00:37 UTCEG score recompute
- 2026-08-11 00:37 UTCVendor advisory
- 2026-08-11 00:00 UTCEPSS rescore
- 2026-08-10 11:32 UTCVendor advisory
- 2026-08-10 00:13 UTCEG score recompute
- 2026-08-10 00:13 UTCVendor advisory
- 2026-08-09 13:46 UTCEPSS rescore
- 2026-08-09 12:54 UTCVendor advisory
- 2026-08-09 01:34 UTCEG score recompute
- 2026-08-09 01:34 UTCVendor advisory
- 2026-08-08 16:37 UTCEPSS rescore
- 2026-08-08 06:06 UTCVendor advisory
- 2026-08-07 18:46 UTCEG score recompute
- 2026-08-07 18:46 UTCVendor advisory
- 2026-08-07 07:21 UTCVendor advisory
- 2026-08-06 19:58 UTCEG score recompute
- 2026-08-06 19:58 UTCVendor advisory
- 2026-08-06 13:46 UTCEPSS rescore
- 2026-08-06 08:39 UTCVendor advisory
- 2026-08-05 21:20 UTCEG score recompute
- 2026-08-05 21:20 UTCVendor advisory
- 2026-08-05 19:17 UTCEPSS rescore
- 2026-08-04 15:10 UTCEPSS rescore
- 2026-08-04 10:38 UTCEPSS rescore
- 2026-08-04 04:21 UTCVendor advisory
- 2026-08-03 16:56 UTCEG score recompute
- 2026-08-03 16:56 UTCVendor advisory
- 2026-08-03 10:36 UTCEPSS rescore
- 2026-08-03 03:55 UTCVendor advisory
- 2026-08-02 16:30 UTCVendor advisory
- 2026-08-02 05:10 UTCEG score recompute
- 2026-08-02 05:10 UTCVendor advisory
- 2026-08-02 02:27 UTCEPSS rescore
- 2026-08-01 17:51 UTCEG score recompute
- 2026-08-01 17:51 UTCVendor advisory
- 2026-08-01 04:16 UTCEPSS rescore
- 2026-07-30 16:28 UTCEPSS rescore
- 2026-07-30 01:30 UTCEPSS rescore
- 2026-07-27 14:13 UTCEPSS rescore
- 2026-07-26 14:54 UTCEPSS rescore
Related CVEs(same vendor + same CWE)
Same vendor
8 shownubuntu:USN-8454-1
Same CWE
10 shownCWE-120
Frequently asked(5)
What is CVE-2026-32741?
When was CVE-2026-32741 disclosed?
Is CVE-2026-32741 actively exploited?
What is the CVSS score of CVE-2026-32741?
How do I remediate CVE-2026-32741?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-32741
Is Your Infrastructure Affected by CVE-2026-32741?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.