Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2019-11471

libheif 1.4.0 has a use-after-free in heif::HeifContext::Image::set_alpha_channel in heif_context.h because heif_context.cc mishandles references to non-existing alpha images.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2019-11471
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:35 UTC · Revision 1

Source evidence

CVE-2019-11471

core-osv · Original source

Published 23 Apr 2019, 14:29 UTC

libheif 1.4.0 has a use-after-free in heif::HeifContext::Image::set_alpha_channel in heif_context.h because heif_context.cc mishandles references to non-existing alpha images.

osv:CVE-2019-11471
Complete source record
{
  "id": "e9a0aeaabb14f95ea8303bab9e42004cfed773a1e55452aa33a6bdd98b3bbe7c",
  "url": "https://osv.dev/vulnerability/CVE-2019-11471",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2019-11471",
    "summary": "libheif 1.4.0 has a use-after-free in heif::HeifContext::Image::set_alpha_channel in heif_context.h because heif_context.cc mishandles references to non-existing alpha images.",
    "evidence": "osv:CVE-2019-11471",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2019-11471",
      "aliases": [
        "CVE-2019-11471"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/strukturag/libheif",
              "type": "GIT",
              "events": [
                {
                  "introduced": "fca25874bb8021dede702bb7023a22af1a8a06ab"
                },
                {
                  "last_affected": "fca25874bb8021dede702bb7023a22af1a8a06ab"
                },
                {
                  "fixed": "995a4283d8ed2d0d2c1ceb1a577b993df2f0e014"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:struktur:libheif:1.4.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.4.0"
                      },
                      {
                        "last_affected": "1.4.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "995a4283d8ed2d0d2c1ceb1a577b993df2f0e014"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.4.0",
            "v1.4.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-11471.json",
            "vanir_signatures": [
              {
                "id": "CVE-2019-11471-9443186f",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "95260294669190440127728145821624217456",
                    "303807190157222396603919287351486898039",
                    "4235846168162409445830265275337292217",
                    "130048297082083805368811421710562116177"
                  ]
                },
                "source": "https://github.com/strukturag/libheif/commit/995a4283d8ed2d0d2c1ceb1a577b993df2f0e014",
                "target": {
                  "file": "libheif/heif_context.cc"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2019-11471-d7dcf1e9",
                "digest": {
                  "length": 7451,
                  "function_hash": "18988048238589524481853342468677268370"
                },
                "source": "https://github.com/strukturag/libheif/commit/995a4283d8ed2d0d2c1ceb1a577b993df2f0e014",
                "target": {
                  "file": "libheif/heif_context.cc",
                  "function": "HeifContext::interpret_heif_file"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:56:15Z"
          }
        }
      ],
      "modified": "2026-10-20T13:56:15.188072716Z",
      "provider": "osv",
      "references": [
        "https://github.com/strukturag/libheif/commit/995a4283d8ed2d0d2c1ceb1a577b993df2f0e014",
        "https://github.com/strukturag/libheif/issues/123"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2019-11471",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 388409,
  "published_at": "2019-04-23T14:29:00.697+00:00"
}