libheif is a HEIF and AVIF file format decoder and encoder. From 1.19.0 until 1.23.0, a crafted HEIF sequence accepted by heif_context_read_from_memory() with the msf1 sequence brand can cause unbounded heap allocation. In libheif/sequences/seq_boxes.cc, Box_stsz::parse() applies max_sequence_frames only to variable-size samples, so fixed-size mode accepts an attacker-controlled sample_count without a bound. In libheif/sequences/track.cc, Track::load() also adds current_sample_idx and samples_per_chunk in 32-bit arithmetic, allowing the consistency check to be bypassed by wraparound. The resulting values reach the Chunk::Chunk() allocation path, which can consume gigabytes of memory and crash or stall the process through memory exhaustion. This issue is fixed in version 1.23.0.
CVE-2026-50142
This high-severity CVE scores 7.5 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.6%, top 55% 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.5
- EG Score
- 7.5(medium)
- EG Risk
- 49(Track)EG Risk 49/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 computedSeverity75% × 45%Exploitation1% × 40%Automatability100% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 1%
- EPSS %ILE
- 45%
- KEV
- Not listed
Published
August 18, 2026
Last Modified
September 9, 2026
Advisory Details (3)
Auto-updated Aug 18, 2026libheif: unbounded heap allocation in HEIF sequence parser (stsz fixed-size mode missing bound check) · Advisory · strukturag/libheif · GitHub
https://github.com/strukturag/libheif/security/advisories/GHSA-jvmp-j3cw-84mhv1.23.0
Patch available: strukturag/libheif v1.23.0
https://github.com/strukturag/libheif/releases/tag/v1.23.0commit a6caa38f7a70 (strukturag/libheif)
Patch available: strukturag/libheif v1.23.0 (contains commit a6caa38f7a70)
https://github.com/strukturag/libheif/commit/a6caa38f7a70d66dc9caec2a7bfe20935b32c622Patch Availability(1)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | libheif1 (1.21.2-3ubuntu0.3) @ resolute | 2026-09-20 | 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
(3 across 3 ecosystems)
Alpine:v3.23(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| libheif | — | 1.23.0-r0 | — |
Debian:12(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| libheif | 1.15.1-1 ... 1.23.2-1 (34 versions) | — | — |
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 26× in last 7d / 102× 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 120 total refreshes for this CVE.
- 2026-09-20 20:26 UTCEG score recompute
- 2026-09-20 20:26 UTCVendor advisory
- 2026-09-20 20:16 UTCEPSS rescore
- 2026-09-19 21:33 UTCEG score recompute
- 2026-09-19 21:33 UTCVendor advisory
- 2026-09-19 10:19 UTCVendor advisory
- 2026-09-18 21:47 UTCEG score recompute
- 2026-09-18 21:47 UTCVendor advisory
- 2026-09-18 19:28 UTCEPSS rescore
- 2026-09-18 09:25 UTCVendor advisory
- 2026-09-17 22:08 UTCEG score recompute
- 2026-09-17 22:08 UTCVendor advisory
- 2026-09-17 10:54 UTCVendor advisory
- 2026-09-16 23:34 UTCEG score recompute
- 2026-09-16 23:34 UTCVendor advisory
- 2026-09-16 14:08 UTCEPSS rescore
- 2026-09-16 12:20 UTCEG score recompute
- 2026-09-16 12:20 UTCVendor advisory
- 2026-09-16 05:15 UTCEPSS rescore
- 2026-09-16 01:06 UTCVendor advisory
- 2026-09-15 13:52 UTCEG score recompute
- 2026-09-15 13:52 UTCVendor advisory
- 2026-09-15 02:34 UTCVendor advisory
- 2026-09-14 15:03 UTCVendor advisory
- 2026-09-14 03:49 UTCEG score recompute
Show 75 moreShow fewer
- 2026-09-14 03:49 UTCVendor advisory
- 2026-09-13 16:47 UTCEPSS rescore
- 2026-09-13 16:35 UTCVendor advisory
- 2026-09-13 05:21 UTCVendor advisory
- 2026-09-12 18:07 UTCEG score recompute
- 2026-09-12 18:07 UTCVendor advisory
- 2026-09-12 06:51 UTCVendor advisory
- 2026-09-11 19:37 UTCEG score recompute
- 2026-09-11 19:37 UTCVendor advisory
- 2026-09-11 14:53 UTCEPSS rescore
- 2026-09-11 08:22 UTCVendor advisory
- 2026-09-10 21:08 UTCVendor advisory
- 2026-09-10 09:52 UTCEG score recompute
- 2026-09-10 09:52 UTCVendor advisory
- 2026-09-10 09:35 UTCEPSS rescore
- 2026-09-09 22:38 UTCVendor advisory
- 2026-09-09 14:50 UTCVendor advisory
- 2026-09-09 02:46 UTCEG score recompute
- 2026-09-09 02:46 UTCVendor advisory
- 2026-09-08 22:01 UTCEPSS rescore
- 2026-09-08 03:00 UTCEG score recompute
- 2026-09-08 03:00 UTCVendor advisory
- 2026-09-07 16:01 UTCEPSS rescore
- 2026-09-07 15:47 UTCVendor advisory
- 2026-09-06 15:56 UTCEG score recompute
- 2026-09-06 15:56 UTCVendor advisory
- 2026-09-06 13:47 UTCEPSS rescore
- 2026-09-06 04:43 UTCVendor advisory
- 2026-09-05 17:28 UTCEG score recompute
- 2026-09-05 06:07 UTCVendor advisory
- 2026-09-04 18:53 UTCEG score recompute
- 2026-09-04 18:53 UTCVendor advisory
- 2026-09-04 07:35 UTCEG score recompute
- 2026-09-04 05:06 UTCEPSS rescore
- 2026-09-02 21:23 UTCEG score recompute
- 2026-09-02 21:23 UTCVendor advisory
- 2026-09-02 14:12 UTCEPSS rescore
- 2026-09-01 21:12 UTCEG score recompute
- 2026-09-01 21:12 UTCVendor advisory
- 2026-09-01 13:54 UTCEPSS rescore
- 2026-09-01 09:56 UTCEG score recompute
- 2026-09-01 04:40 UTCEPSS rescore
- 2026-08-31 22:42 UTCVendor advisory
- 2026-08-31 11:29 UTCVendor advisory
- 2026-08-31 00:12 UTCEG score recompute
- 2026-08-31 00:12 UTCVendor advisory
- 2026-08-30 19:17 UTCEPSS rescore
- 2026-08-30 12:59 UTCVendor advisory
- 2026-08-30 01:46 UTCEG score recompute
- 2026-08-30 01:46 UTCVendor advisory
- 2026-08-30 01:22 UTCEPSS rescore
- 2026-08-29 02:43 UTCEG score recompute
- 2026-08-28 21:41 UTCEPSS rescore
- 2026-08-27 19:14 UTCEG score recompute
- 2026-08-27 19:14 UTCVendor advisory
- 2026-08-27 14:25 UTCEPSS rescore
- 2026-08-27 07:25 UTCVendor advisory
- 2026-08-26 20:11 UTCEG score recompute
- 2026-08-26 20:11 UTCVendor advisory
- 2026-08-26 14:46 UTCEPSS rescore
- 2026-08-26 08:56 UTCVendor advisory
- 2026-08-25 21:42 UTCEG score recompute
- 2026-08-25 21:42 UTCVendor advisory
- 2026-08-25 13:49 UTCEPSS rescore
- 2026-08-25 10:06 UTCVendor advisory
- 2026-08-24 22:51 UTCEG score recompute
- 2026-08-24 22:51 UTCVendor advisory
- 2026-08-24 11:38 UTCEG score recompute
- 2026-08-24 11:38 UTCVendor advisory
- 2026-08-24 00:24 UTCVendor advisory
- 2026-08-23 13:10 UTCVendor advisory
- 2026-08-23 01:56 UTCEG score recompute
- 2026-08-23 01:56 UTCVendor advisory
- 2026-08-23 00:19 UTCEPSS rescore
- 2026-08-22 14:43 UTCVendor advisory
Related CVEs(same vendor + same CWE)
Same vendor
4 shownubuntu:USN-8526-1
Same CWE
10 shownCWE-770 · CWE-190
Frequently asked(5)
What is CVE-2026-50142?
When was CVE-2026-50142 disclosed?
Is CVE-2026-50142 actively exploited?
What is the CVSS score of CVE-2026-50142?
How do I remediate CVE-2026-50142?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-50142
Is Your Infrastructure Affected by CVE-2026-50142?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.