CVE catalog

CVE-2026-32882

libheif is a HEIF and AVIF file format decoder and…

[CVE catalog]

libheif is a HEIF and AVIF file format decoder and encoder. Versions 1.21.2 and prior contain a heap buffer over-read in HeifPixelImage::overlay() in libheif/pixelimage.cc. When compositing an overlay image (iovl) whose child image has a different bit depth for the alpha channel than for the color channels, the function indexes into the alpha plane using the color channel stride (in_stride) instead of the previously retrieved alpha_stride, causing reads past the end of the alpha buffer (up to 3,123 bytes for a 100×50 image with 10-bit color and 8-bit alpha). A crafted HEIF file can exploit this to cause a denial of service (crash) or potentially disclose adjacent heap memory through leaked bytes embedded in the decoded output pixels. This issue has been fixed in versionThis issue has been fixed in version 1.22.0.

Severity
High · CVSS 7.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.71% · Oct 27, 2026

Projects and upstream resources

Reported versions and fixes

Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.

Version impact has not been established. The original provider fields are retained below.

Provider details and historical evidence
Original provider fields
{
  "package_releases": [
    {
      "name": "libheif",
      "status": "fixed",
      "release": "sid",
      "version": "1.23.6-2"
    },
    {
      "name": "libheif",
      "status": "fixed",
      "release": "forky",
      "version": "1.23.6-2"
    },
    {
      "name": "libheif",
      "status": "fixed",
      "release": "trixie",
      "version": "1.19.8-1+deb13u1"
    },
    {
      "name": "libheif",
      "status": "fixed",
      "release": "trixie-security",
      "version": "1.23.6-2~deb13u1"
    },
    {
      "name": "libheif",
      "status": "vulnerable",
      "release": "bookworm",
      "version": "1.15.1-1+deb12u1"
    },
    {
      "name": "libheif",
      "status": "vulnerable",
      "release": "bookworm-security",
      "version": "1.15.1-1+deb12u1"
    }
  ],
  "fixed_versions": [
    {
      "bug": 1137524,
      "name": "libheif",
      "type": "source",
      "origin": null,
      "release": "sid",
      "urgency": "not yet assigned",
      "fixed_version": "1.23.1-1"
    },
    {
      "bug": 1137524,
      "name": "libheif",
      "type": "source",
      "origin": null,
      "release": "forky",
      "urgency": "not yet assigned",
      "fixed_version": "1.23.1-1"
    },
    {
      "bug": 1137524,
      "name": "libheif",
      "type": "source",
      "origin": null,
      "release": "trixie",
      "urgency": "not yet assigned",
      "fixed_version": "1.19.8-1+deb13u1"
    },
    {
      "bug": 1137524,
      "name": "libheif",
      "type": "source",
      "origin": null,
      "release": "bookworm",
      "urgency": "not yet assigned",
      "fixed_version": ""
    }
  ],
  "distribution_packages": [
    {
      "name": "libheif",
      "ecosystem": "cpe",
      "fixed_version": "1.17.6-1ubuntu4.4"
    },
    {
      "name": "heif-gdk-pixbuf",
      "ecosystem": "cpe",
      "fixed_version": "1.17.6-1ubuntu4.4"
    },
    {
      "name": "heif-thumbnailer",
      "ecosystem": "cpe",
      "fixed_version": "1.17.6-1ubuntu4.4"
    },
    {
      "name": "libheif-dev",
      "ecosystem": "cpe",
      "fixed_version": "1.17.6-1ubuntu4.4"
    },
    {
      "name": "libheif-examples",
      "ecosystem": "cpe",
      "fixed_version": "1.17.6-1ubuntu4.4"
    },
    {
      "name": "libheif-plugin-aomdec",
      "ecosystem": "cpe",
      "fixed_version": "1.17.6-1ubuntu4.4"
    },
    {
      "name": "libheif-plugin-aomenc",
      "ecosystem": "cpe",
      "fixed_version": "1.17.6-1ubuntu4.4"
    },
    {
      "name": "libheif-plugin-dav1d",
      "ecosystem": "cpe",
      "fixed_version": "1.17.6-1ubuntu4.4"
    },
    {
      "name": "libheif-plugin-ffmpegdec",
      "ecosystem": "cpe",
      "fixed_version": "1.17.6-1ubuntu4.4"
    },
    {
      "name": "libheif-plugin-j2kdec",
      "ecosystem": "cpe",
      "fixed_version": "1.17.6-1ubuntu4.4"
    },
    {
      "name": "libheif-plugin-j2kenc",
      "ecosystem": "cpe",
      "fixed_version": "1.17.6-1ubuntu4.4"
    },
    {
      "name": "libheif-plugin-jpegdec",
      "ecosystem": "cpe",
      "fixed_version": "1.17.6-1ubuntu4.4"
    },
    {
      "name": "libheif-plugin-jpegenc",
      "ecosystem": "cpe",
      "fixed_version": "1.17.6-1ubuntu4.4"
    },
    {
      "name": "libheif-plugin-libde265",
      "ecosystem": "cpe",
      "fixed_version": "1.17.6-1ubuntu4.4"
    },
    {
      "name": "libheif-plugin-rav1e",
      "ecosystem": "cpe",
      "fixed_version": "1.17.6-1ubuntu4.4"
    },
    {
      "name": "libheif-plugin-svtenc",
      "ecosystem": "cpe",
      "fixed_version": "1.17.6-1ubuntu4.4"
    },
    {
      "name": "libheif-plugin-x265",
      "ecosystem": "cpe",
      "fixed_version": "1.17.6-1ubuntu4.4"
    },
    {
      "name": "libheif1",
      "ecosystem": "cpe",
      "fixed_version": "1.17.6-1ubuntu4.4"
    },
    {
      "name": "libheif",
      "ecosystem": "cpe",
      "fixed_version": "not yet fixed"
    },
    {
      "name": "libheif",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.12.0-2ubuntu0.1~esm3"
            }
          ]
        }
      ],
      "release": "pro",
      "versions": [
        "1.11.0-1",
        "1.12.0-2build1",
        "1.12.0-2ubuntu0.1~esm1",
        "1.12.0-2ubuntu0.1~esm2"
      ],
      "ecosystem": "deb",
      "fixed_version": "1.12.0-2ubuntu0.1~esm3",
      "provider_record_id": "UBUNTU-CVE-2026-32882"
    },
    {
      "name": "libheif",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.17.6-1ubuntu4.4"
            }
          ]
        }
      ],
      "release": "24.04",
      "versions": [
        "1.16.2-2ubuntu1",
        "1.17.1-1ubuntu2",
        "1.17.1-1ubuntu3",
        "1.17.4-1ubuntu1",
        "1.17.6-1ubuntu1",
        "1.17.6-1ubuntu2",
        "1.17.6-1ubuntu3",
        "1.17.6-1ubuntu4",
        "1.17.6-1ubuntu4.1",
        "1.17.6-1ubuntu4.2",
        "1.17.6-1ubuntu4.3"
      ],
      "ecosystem": "deb",
      "fixed_version": "1.17.6-1ubuntu4.4",
      "provider_record_id": "UBUNTU-CVE-2026-32882"
    },
    {
      "name": "libheif",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.20.2-1ubuntu0.4"
            }
          ]
        }
      ],
      "release": "25.10",
      "versions": [
        "1.19.7-1",
        "1.19.8-1",
        "1.20.2-1",
        "1.20.2-1ubuntu0.1",
        "1.20.2-1ubuntu0.3"
      ],
      "ecosystem": "deb",
      "fixed_version": "1.20.2-1ubuntu0.4",
      "provider_record_id": "UBUNTU-CVE-2026-32882"
    },
    {
      "name": "libheif",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.21.2-3ubuntu0.1"
            }
          ]
        }
      ],
      "release": "26.04",
      "versions": [
        "1.20.2-1",
        "1.20.2-2",
        "1.20.2-2build1",
        "1.20.2-2build2",
        "1.20.2-2ubuntu1",
        "1.21.2-1",
        "1.21.2-3"
      ],
      "ecosystem": "deb",
      "fixed_version": "1.21.2-3ubuntu0.1",
      "provider_record_id": "UBUNTU-CVE-2026-32882"
    }
  ]
}

[Debian bug #1137524]

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • Source package: [libheif]

    Details (6)
    • 1.15.1-1+deb12u1 · amd64 · bookworm

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.15.1-1+deb12u1 · arm64 · bookworm

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.19.7-1~bpo12+1 · amd64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.19.7-1~bpo12+1 · arm64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.15.1-1+deb12u1 · amd64 · bookworm-security

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.15.1-1+deb12u1 · arm64 · bookworm-security

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

  • Source package: [libheif]

    Details (6)
    • 1.15.1-1+deb12u1 · amd64 · bookworm

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.15.1-1+deb12u1 · arm64 · bookworm

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.19.7-1~bpo12+1 · amd64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.19.7-1~bpo12+1 · arm64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.15.1-1+deb12u1 · amd64 · bookworm-security

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.15.1-1+deb12u1 · arm64 · bookworm-security

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

  • [libheif1]Unknown

    Source package: [libheif]

    Details (6)
    • 1.15.1-1+deb12u1 · amd64 · bookworm

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.15.1-1+deb12u1 · arm64 · bookworm

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.19.7-1~bpo12+1 · amd64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.19.7-1~bpo12+1 · arm64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.15.1-1+deb12u1 · amd64 · bookworm-security

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.15.1-1+deb12u1 · arm64 · bookworm-security

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

  • [libheif-dev]Unknown

    Source package: [libheif]

    Details (6)
    • 1.15.1-1+deb12u1 · amd64 · bookworm

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.15.1-1+deb12u1 · arm64 · bookworm

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.19.7-1~bpo12+1 · amd64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.19.7-1~bpo12+1 · arm64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.15.1-1+deb12u1 · amd64 · bookworm-security

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.15.1-1+deb12u1 · arm64 · bookworm-security

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

  • Source package: [libheif]

    Details (6)
    • 1.15.1-1+deb12u1 · amd64 · bookworm

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.15.1-1+deb12u1 · arm64 · bookworm

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.19.7-1~bpo12+1 · amd64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.19.7-1~bpo12+1 · arm64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.15.1-1+deb12u1 · amd64 · bookworm-security

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.15.1-1+deb12u1 · arm64 · bookworm-security

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

  • Source package: [libheif]

    Details (2)
    • 1.19.7-1~bpo12+1 · amd64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.19.7-1~bpo12+1 · arm64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

  • Source package: [libheif]

    Details (2)
    • 1.19.7-1~bpo12+1 · amd64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.19.7-1~bpo12+1 · arm64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

  • Source package: [libheif]

    Details (2)
    • 1.19.7-1~bpo12+1 · amd64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.19.7-1~bpo12+1 · arm64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

  • Source package: [libheif]

    Details (2)
    • 1.19.7-1~bpo12+1 · amd64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.19.7-1~bpo12+1 · arm64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

  • Source package: [libheif]

    Details (2)
    • 1.19.7-1~bpo12+1 · amd64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.19.7-1~bpo12+1 · arm64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

  • Source package: [libheif]

    Details (2)
    • 1.19.7-1~bpo12+1 · amd64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.19.7-1~bpo12+1 · arm64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

  • Source package: [libheif]

    Details (2)
    • 1.19.7-1~bpo12+1 · amd64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.19.7-1~bpo12+1 · arm64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

  • Source package: [libheif]

    Details (2)
    • 1.19.7-1~bpo12+1 · amd64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.19.7-1~bpo12+1 · arm64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

  • Source package: [libheif]

    Details (2)
    • 1.19.7-1~bpo12+1 · amd64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.19.7-1~bpo12+1 · arm64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

  • Source package: [libheif]

    Details (2)
    • 1.19.7-1~bpo12+1 · amd64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.19.7-1~bpo12+1 · arm64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

  • Source package: [libheif]

    Details (2)
    • 1.19.7-1~bpo12+1 · amd64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.19.7-1~bpo12+1 · arm64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

  • Source package: [libheif]

    Details (2)
    • 1.19.7-1~bpo12+1 · amd64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.19.7-1~bpo12+1 · arm64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

  • Source package: [libheif]

    Details (2)
    • 1.19.7-1~bpo12+1 · amd64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

    • 1.19.7-1~bpo12+1 · arm64 · bookworm-backports

      Affected

      nvd · libheif · debian · bookworm; nvd · libheif · debian · 12

[Debian 13 (Trixie)]

  • Source package: [libheif]

    Details (6)
    • 1.19.8-1 · amd64 · trixie

      Affected · Fixed: 1.19.8-1+deb13u1

      nvd · libheif · debian · 13

    • 1.19.8-1 · arm64 · trixie

      Affected · Fixed: 1.19.8-1+deb13u1

      nvd · libheif · debian · 13

    • 1.19.8-1+deb13u1 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 1.19.8-1+deb13u1

      nvd · libheif · debian · 13

    • 1.19.8-1+deb13u1 · arm64 · trixie-security

      Fixed · Fixed: 1.19.8-1+deb13u1

      nvd · libheif · debian · 13

    • 1.23.4-1~deb13u1 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 1.19.8-1+deb13u1

      nvd · libheif · debian · 13

    • 1.23.6-2~deb13u1 · amd64 · trixie-security

      Fixed · Fixed: 1.19.8-1+deb13u1

      nvd · libheif · debian · 13

  • Source package: [libheif]

    Details (6)
    • 1.19.8-1 · amd64 · trixie

      Affected · Fixed: 1.19.8-1+deb13u1

      nvd · libheif · debian · 13

    • 1.19.8-1 · arm64 · trixie

      Affected · Fixed: 1.19.8-1+deb13u1

      nvd · libheif · debian · 13

    • 1.19.8-1+deb13u1 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 1.19.8-1+deb13u1

      nvd · libheif · debian · 13

    • 1.19.8-1+deb13u1 · arm64 · trixie-security

      Fixed · Fixed: 1.19.8-1+deb13u1

      nvd · libheif · debian · 13

    • 1.23.4-1~deb13u1 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 1.19.8-1+deb13u1

      nvd · libheif · debian · 13

    • 1.23.6-2~deb13u1 · amd64 · trixie-security

      Fixed · Fixed: 1.19.8-1+deb13u1

      nvd · libheif · debian · 13

Next results

Observed:

References