{
  "id": "CVE-2026-28231",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-28231",
  "published_at": "2026-02-27T20:13:45.195Z",
  "title": "pillow_heif Has Integer Overflow in Encode Path Buffer Validation that Leads to Heap Out-of-Bounds Read",
  "vendor": "bigcat88",
  "product": "pillow_heif",
  "cvss": {
    "score": 9.1,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "pillow_heif is a Python library for working with HEIF images and plugin for Pillow. Prior to version 1.3.0, an integer overflow in the encode path buffer validation of `_pillow_heif.c` allows an attacker to bypass bounds checks by providing large image dimensions, resulting in a heap out-of-bounds read. This can lead to information disclosure (server heap memory leaking into encoded images) or denial of service (process crash). No special configuration is required — this triggers under default settings. Version 1.3.0 fixes the issue.",
  "cwe": "CWE-125",
  "cpes": [
    "cpe:2.3:a:bigcat88:pillow-heif:*:*:*:*:*:python:*:*"
  ],
  "cvss_by_source": {
    "cna": 5.5,
    "nvd": 9.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "bigcat88",
        "product": "pillow_heif",
        "ranges": [
          "\u003c 1.3.0"
        ],
        "fixed_in": [
          "1.3.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade pillow_heif to 1.3.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/bigcat88/pillow_heif/security/advisories/GHSA-5gjj-6r7v-ph3x"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/bigcat88/pillow_heif/commit/8305a15d3780c533b762578cbe987d27a2c59c7a"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/bigcat88/pillow_heif/releases/tag/v1.3.0"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
