{"id":"CVE-2026-28231","published":"2026-02-27T20:13:45Z","modified":"2026-03-03T20:25:30Z","title":"pillow_heif Has Integer Overflow in Encode Path Buffer Validation that Leads to Heap Out-of-Bounds Read","vendor":"bigcat88","product":"pillow_heif","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00693,"percentile":0.5384,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"},{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"references":[{"url":"https://github.com/bigcat88/pillow_heif/security/advisories/GHSA-5gjj-6r7v-ph3x","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/bigcat88/pillow_heif/commit/8305a15d3780c533b762578cbe987d27a2c59c7a","tags":["x_refsource_MISC"]},{"url":"https://github.com/bigcat88/pillow_heif/releases/tag/v1.3.0","tags":["x_refsource_MISC"]}],"priority":{"score":14.6,"factors":[{"name":"EPSS percentile","points":10.77},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"bigcat88","affectedVersions":[{"vendor":"bigcat88","product":"pillow_heif","versions":["< 1.3.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-03-03T20:25:24.513947Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"pi-heif","vulnerableRanges":["<1.3.0"],"patched":["1.3.0"],"from":["GHSA-5gjj-6r7v-ph3x","PYSEC-2026-2248"],"provenance":"source"},{"ecosystem":"PyPI","package":"pillow-heif","vulnerableRanges":["<1.3.0"],"patched":["1.3.0"],"from":["GHSA-5gjj-6r7v-ph3x","PYSEC-2026-2258"],"provenance":"source"}],"summary":{"text":"An integer overflow in the encode path buffer validation of the _pillow_heif.c component of the pillow_heif Python library (a HEIF image plugin for Pillow, vendor bigcat88) lets bounds checks be bypassed when large image dimensions are supplied, causing a heap out-of-bounds read. An unauthenticated remote attacker who can submit images for encoding, with no user interaction and under default configuration, can cause the process to leak server heap memory into encoded images or crash it.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:37:08Z"},"euvd":{"id":"EUVD-2026-9061","exploited":false,"provenance":"source"}}