{
  "cveId": "CVE-2026-50142",
  "url": "https://patchblox.com/security/cve/CVE-2026-50142",
  "summary": "CVE-2026-50142 is fixed in 20 products on 1 platform, first by SUSE-SU-2026:22153-1, released June 17, 2026. It is not reported as exploited. Patch Radar priority: High.",
  "title": "libheif: libheif is a HEIF and AVIF file format decoder and encoder",
  "description": "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.",
  "published": "2026-06-17T08:36:56Z",
  "severity": "high",
  "cvss": 7.5,
  "cvssVector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
  "epss": 0.00655,
  "epssPercentile": 0.51656,
  "priority": "High",
  "priorityTier": 3,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "heif-gdk-pixbuf",
      "release": "Ubuntu 25.10 (questing)",
      "fixedVersion": "1.20.2-1ubuntu0.6",
      "fix": "heif-gdk-pixbuf 1.20.2-1ubuntu0.6",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-questing-heif-gdk-pixbuf-1.20.2-1ubuntu0.6",
      "released": "2026-07-21T13:07:25Z"
    },
    {
      "platform": "linux",
      "product": "heif-gdk-pixbuf",
      "release": "Ubuntu 26.04.1 LTS (resolute)",
      "fixedVersion": "1.21.2-3ubuntu0.3",
      "fix": "heif-gdk-pixbuf 1.21.2-3ubuntu0.3",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-resolute-heif-gdk-pixbuf-1.21.2-3ubuntu0.3",
      "released": "2026-07-01T17:00:00Z"
    },
    {
      "platform": "linux",
      "product": "heif-thumbnailer",
      "release": "Ubuntu 25.10 (questing)",
      "fixedVersion": "1.20.2-1ubuntu0.6",
      "fix": "heif-thumbnailer 1.20.2-1ubuntu0.6",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-questing-heif-thumbnailer-1.20.2-1ubuntu0.6",
      "released": "2026-07-21T13:07:25Z"
    },
    {
      "platform": "linux",
      "product": "heif-thumbnailer",
      "release": "Ubuntu 26.04.1 LTS (resolute)",
      "fixedVersion": "1.21.2-3ubuntu0.3",
      "fix": "heif-thumbnailer 1.21.2-3ubuntu0.3",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-resolute-heif-thumbnailer-1.21.2-3ubuntu0.3",
      "released": "2026-07-01T17:00:00Z"
    },
    {
      "platform": "linux",
      "product": "heif-view",
      "release": "Ubuntu 25.10 (questing)",
      "fixedVersion": "1.20.2-1ubuntu0.6",
      "fix": "heif-view 1.20.2-1ubuntu0.6",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-questing-heif-view-1.20.2-1ubuntu0.6",
      "released": "2026-07-21T13:07:25Z"
    },
    {
      "platform": "linux",
      "product": "heif-view",
      "release": "Ubuntu 26.04.1 LTS (resolute)",
      "fixedVersion": "1.21.2-3ubuntu0.3",
      "fix": "heif-view 1.21.2-3ubuntu0.3",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-resolute-heif-view-1.21.2-3ubuntu0.3",
      "released": "2026-07-01T17:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libheif",
      "release": "Debian 14",
      "fixedVersion": "1.23.1-1",
      "fix": "DEBIAN-CVE-2026-50142",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2026-50142",
      "released": "2026-08-11T16:03:09Z"
    },
    {
      "platform": "linux",
      "product": "libheif",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "1.23.0-160000.1.1",
      "fix": "OPENSUSE-SU-2026:20974-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2026-20974-1",
      "released": "2026-06-17T08:37:36Z"
    },
    {
      "platform": "linux",
      "product": "libheif",
      "release": "sles 15.7",
      "fixedVersion": "1.23.0-150700.3.15.1",
      "fix": "SUSE-SU-2026:2622-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-2622-1",
      "released": "2026-06-24T11:55:36Z"
    },
    {
      "platform": "linux",
      "product": "libheif",
      "release": "sles 16.0",
      "fixedVersion": "1.23.0-160000.1.1",
      "fix": "SUSE-SU-2026:22153-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-22153-1",
      "released": "2026-06-17T08:36:56Z"
    },
    {
      "platform": "linux",
      "product": "libheif-examples",
      "release": "Ubuntu 25.10 (questing)",
      "fixedVersion": "1.20.2-1ubuntu0.6",
      "fix": "libheif-examples 1.20.2-1ubuntu0.6",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-questing-libheif-examples-1.20.2-1ubuntu0.6",
      "released": "2026-07-21T13:07:25Z"
    },
    {
      "platform": "linux",
      "product": "libheif-examples",
      "release": "Ubuntu 26.04.1 LTS (resolute)",
      "fixedVersion": "1.21.2-3ubuntu0.3",
      "fix": "libheif-examples 1.21.2-3ubuntu0.3",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-resolute-libheif-examples-1.21.2-3ubuntu0.3",
      "released": "2026-07-01T17:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libheif-plugin-aomdec",
      "release": "Ubuntu 25.10 (questing)",
      "fixedVersion": "1.20.2-1ubuntu0.6",
      "fix": "libheif-plugin-aomdec 1.20.2-1ubuntu0.6",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-questing-libheif-plugin-aomdec-1.20.2-1ubuntu0.6",
      "released": "2026-07-21T13:07:25Z"
    },
    {
      "platform": "linux",
      "product": "libheif-plugin-aomdec",
      "release": "Ubuntu 26.04.1 LTS (resolute)",
      "fixedVersion": "1.21.2-3ubuntu0.3",
      "fix": "libheif-plugin-aomdec 1.21.2-3ubuntu0.3",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-resolute-libheif-plugin-aomdec-1.21.2-3ubuntu0.3",
      "released": "2026-07-01T17:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libheif-plugin-aomenc",
      "release": "Ubuntu 25.10 (questing)",
      "fixedVersion": "1.20.2-1ubuntu0.6",
      "fix": "libheif-plugin-aomenc 1.20.2-1ubuntu0.6",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-questing-libheif-plugin-aomenc-1.20.2-1ubuntu0.6",
      "released": "2026-07-21T13:07:25Z"
    },
    {
      "platform": "linux",
      "product": "libheif-plugin-aomenc",
      "release": "Ubuntu 26.04.1 LTS (resolute)",
      "fixedVersion": "1.21.2-3ubuntu0.3",
      "fix": "libheif-plugin-aomenc 1.21.2-3ubuntu0.3",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-resolute-libheif-plugin-aomenc-1.21.2-3ubuntu0.3",
      "released": "2026-07-01T17:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libheif-plugin-dav1d",
      "release": "Ubuntu 25.10 (questing)",
      "fixedVersion": "1.20.2-1ubuntu0.6",
      "fix": "libheif-plugin-dav1d 1.20.2-1ubuntu0.6",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-questing-libheif-plugin-dav1d-1.20.2-1ubuntu0.6",
      "released": "2026-07-21T13:07:25Z"
    },
    {
      "platform": "linux",
      "product": "libheif-plugin-dav1d",
      "release": "Ubuntu 26.04.1 LTS (resolute)",
      "fixedVersion": "1.21.2-3ubuntu0.3",
      "fix": "libheif-plugin-dav1d 1.21.2-3ubuntu0.3",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-resolute-libheif-plugin-dav1d-1.21.2-3ubuntu0.3",
      "released": "2026-07-01T17:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libheif-plugin-ffmpegdec",
      "release": "Ubuntu 25.10 (questing)",
      "fixedVersion": "1.20.2-1ubuntu0.6",
      "fix": "libheif-plugin-ffmpegdec 1.20.2-1ubuntu0.6",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-questing-libheif-plugin-ffmpegdec-1.20.2-1ubuntu0.6",
      "released": "2026-07-21T13:07:25Z"
    },
    {
      "platform": "linux",
      "product": "libheif-plugin-ffmpegdec",
      "release": "Ubuntu 26.04.1 LTS (resolute)",
      "fixedVersion": "1.21.2-3ubuntu0.3",
      "fix": "libheif-plugin-ffmpegdec 1.21.2-3ubuntu0.3",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-resolute-libheif-plugin-ffmpegdec-1.21.2-3ubuntu0.3",
      "released": "2026-07-01T17:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libheif-plugin-j2kdec",
      "release": "Ubuntu 25.10 (questing)",
      "fixedVersion": "1.20.2-1ubuntu0.6",
      "fix": "libheif-plugin-j2kdec 1.20.2-1ubuntu0.6",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-questing-libheif-plugin-j2kdec-1.20.2-1ubuntu0.6",
      "released": "2026-07-21T13:07:25Z"
    },
    {
      "platform": "linux",
      "product": "libheif-plugin-j2kdec",
      "release": "Ubuntu 26.04.1 LTS (resolute)",
      "fixedVersion": "1.21.2-3ubuntu0.3",
      "fix": "libheif-plugin-j2kdec 1.21.2-3ubuntu0.3",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-resolute-libheif-plugin-j2kdec-1.21.2-3ubuntu0.3",
      "released": "2026-07-01T17:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libheif-plugin-j2kenc",
      "release": "Ubuntu 25.10 (questing)",
      "fixedVersion": "1.20.2-1ubuntu0.6",
      "fix": "libheif-plugin-j2kenc 1.20.2-1ubuntu0.6",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-questing-libheif-plugin-j2kenc-1.20.2-1ubuntu0.6",
      "released": "2026-07-21T13:07:25Z"
    },
    {
      "platform": "linux",
      "product": "libheif-plugin-j2kenc",
      "release": "Ubuntu 26.04.1 LTS (resolute)",
      "fixedVersion": "1.21.2-3ubuntu0.3",
      "fix": "libheif-plugin-j2kenc 1.21.2-3ubuntu0.3",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-resolute-libheif-plugin-j2kenc-1.21.2-3ubuntu0.3",
      "released": "2026-07-01T17:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libheif-plugin-jpegdec",
      "release": "Ubuntu 25.10 (questing)",
      "fixedVersion": "1.20.2-1ubuntu0.6",
      "fix": "libheif-plugin-jpegdec 1.20.2-1ubuntu0.6",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-questing-libheif-plugin-jpegdec-1.20.2-1ubuntu0.6",
      "released": "2026-07-21T13:07:25Z"
    },
    {
      "platform": "linux",
      "product": "libheif-plugin-jpegdec",
      "release": "Ubuntu 26.04.1 LTS (resolute)",
      "fixedVersion": "1.21.2-3ubuntu0.3",
      "fix": "libheif-plugin-jpegdec 1.21.2-3ubuntu0.3",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-resolute-libheif-plugin-jpegdec-1.21.2-3ubuntu0.3",
      "released": "2026-07-01T17:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libheif-plugin-jpegenc",
      "release": "Ubuntu 25.10 (questing)",
      "fixedVersion": "1.20.2-1ubuntu0.6",
      "fix": "libheif-plugin-jpegenc 1.20.2-1ubuntu0.6",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-questing-libheif-plugin-jpegenc-1.20.2-1ubuntu0.6",
      "released": "2026-07-21T13:07:25Z"
    },
    {
      "platform": "linux",
      "product": "libheif-plugin-jpegenc",
      "release": "Ubuntu 26.04.1 LTS (resolute)",
      "fixedVersion": "1.21.2-3ubuntu0.3",
      "fix": "libheif-plugin-jpegenc 1.21.2-3ubuntu0.3",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-resolute-libheif-plugin-jpegenc-1.21.2-3ubuntu0.3",
      "released": "2026-07-01T17:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libheif-plugin-kvazaar",
      "release": "Ubuntu 25.10 (questing)",
      "fixedVersion": "1.20.2-1ubuntu0.6",
      "fix": "libheif-plugin-kvazaar 1.20.2-1ubuntu0.6",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-questing-libheif-plugin-kvazaar-1.20.2-1ubuntu0.6",
      "released": "2026-07-21T13:07:25Z"
    },
    {
      "platform": "linux",
      "product": "libheif-plugin-kvazaar",
      "release": "Ubuntu 26.04.1 LTS (resolute)",
      "fixedVersion": "1.21.2-3ubuntu0.3",
      "fix": "libheif-plugin-kvazaar 1.21.2-3ubuntu0.3",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-resolute-libheif-plugin-kvazaar-1.21.2-3ubuntu0.3",
      "released": "2026-07-01T17:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libheif-plugin-libde265",
      "release": "Ubuntu 25.10 (questing)",
      "fixedVersion": "1.20.2-1ubuntu0.6",
      "fix": "libheif-plugin-libde265 1.20.2-1ubuntu0.6",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-questing-libheif-plugin-libde265-1.20.2-1ubuntu0.6",
      "released": "2026-07-21T13:07:25Z"
    },
    {
      "platform": "linux",
      "product": "libheif-plugin-libde265",
      "release": "Ubuntu 26.04.1 LTS (resolute)",
      "fixedVersion": "1.21.2-3ubuntu0.3",
      "fix": "libheif-plugin-libde265 1.21.2-3ubuntu0.3",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-resolute-libheif-plugin-libde265-1.21.2-3ubuntu0.3",
      "released": "2026-07-01T17:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libheif-plugin-rav1e",
      "release": "Ubuntu 25.10 (questing)",
      "fixedVersion": "1.20.2-1ubuntu0.6",
      "fix": "libheif-plugin-rav1e 1.20.2-1ubuntu0.6",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-questing-libheif-plugin-rav1e-1.20.2-1ubuntu0.6",
      "released": "2026-07-21T13:07:25Z"
    },
    {
      "platform": "linux",
      "product": "libheif-plugin-rav1e",
      "release": "Ubuntu 26.04.1 LTS (resolute)",
      "fixedVersion": "1.21.2-3ubuntu0.3",
      "fix": "libheif-plugin-rav1e 1.21.2-3ubuntu0.3",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-resolute-libheif-plugin-rav1e-1.21.2-3ubuntu0.3",
      "released": "2026-07-01T17:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libheif-plugin-svtenc",
      "release": "Ubuntu 25.10 (questing)",
      "fixedVersion": "1.20.2-1ubuntu0.6",
      "fix": "libheif-plugin-svtenc 1.20.2-1ubuntu0.6",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-questing-libheif-plugin-svtenc-1.20.2-1ubuntu0.6",
      "released": "2026-07-21T13:07:25Z"
    },
    {
      "platform": "linux",
      "product": "libheif-plugin-svtenc",
      "release": "Ubuntu 26.04.1 LTS (resolute)",
      "fixedVersion": "1.21.2-3ubuntu0.3",
      "fix": "libheif-plugin-svtenc 1.21.2-3ubuntu0.3",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-resolute-libheif-plugin-svtenc-1.21.2-3ubuntu0.3",
      "released": "2026-07-01T17:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libheif-plugin-x265",
      "release": "Ubuntu 25.10 (questing)",
      "fixedVersion": "1.20.2-1ubuntu0.6",
      "fix": "libheif-plugin-x265 1.20.2-1ubuntu0.6",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-questing-libheif-plugin-x265-1.20.2-1ubuntu0.6",
      "released": "2026-07-21T13:07:25Z"
    },
    {
      "platform": "linux",
      "product": "libheif-plugin-x265",
      "release": "Ubuntu 26.04.1 LTS (resolute)",
      "fixedVersion": "1.21.2-3ubuntu0.3",
      "fix": "libheif-plugin-x265 1.21.2-3ubuntu0.3",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-resolute-libheif-plugin-x265-1.21.2-3ubuntu0.3",
      "released": "2026-07-01T17:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libheif-plugins-all",
      "release": "Ubuntu 25.10 (questing)",
      "fixedVersion": "1.20.2-1ubuntu0.6",
      "fix": "libheif-plugins-all 1.20.2-1ubuntu0.6",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-questing-libheif-plugins-all-1.20.2-1ubuntu0.6",
      "released": "2026-07-21T13:07:25Z"
    },
    {
      "platform": "linux",
      "product": "libheif-plugins-all",
      "release": "Ubuntu 26.04.1 LTS (resolute)",
      "fixedVersion": "1.21.2-3ubuntu0.3",
      "fix": "libheif-plugins-all 1.21.2-3ubuntu0.3",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-resolute-libheif-plugins-all-1.21.2-3ubuntu0.3",
      "released": "2026-07-01T17:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libheif1",
      "release": "Ubuntu 25.10 (questing)",
      "fixedVersion": "1.20.2-1ubuntu0.6",
      "fix": "libheif1 1.20.2-1ubuntu0.6",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-questing-libheif1-1.20.2-1ubuntu0.6",
      "released": "2026-07-21T13:07:25Z"
    },
    {
      "platform": "linux",
      "product": "libheif1",
      "release": "Ubuntu 26.04.1 LTS (resolute)",
      "fixedVersion": "1.21.2-3ubuntu0.3",
      "fix": "libheif1 1.21.2-3ubuntu0.3",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-resolute-libheif1-1.21.2-3ubuntu0.3",
      "released": "2026-07-01T17:00:00Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-09T07:25:28Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}