{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-50142","published":"2026-08-18T22:16:52.633000Z","last_modified":"2026-10-22T17:09:59.477000Z","status":"Deferred","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-190","CWE-770"],"cpes":[],"cpes_truncated":false,"vendors":["strukturag"],"products":["strukturag/libheif"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2026-50142/","html_en":"/en/cve/CVE-2026-50142/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-50142","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-50142"},"untrusted":{"vendor_name":"strukturag","product_name":"libheif","desc_en":"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.","affected":[{"untrusted_vendor":"strukturag","untrusted_product":"libheif","versions":[]}],"references":[{"url":"https://github.com/strukturag/libheif/commit/a6caa38f7a70d66dc9caec2a7bfe20935b32c622","tags":[]},{"url":"https://github.com/strukturag/libheif/releases/tag/v1.23.0","tags":[]},{"url":"https://github.com/strukturag/libheif/security/advisories/GHSA-jvmp-j3cw-84mh","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"}}]}