{"cve":"CVE-2026-28231","nvd":{"published":"2026-02-27T20:21:40.697","modified":"2026-06-17T10:28:22.607","status":"Analyzed","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.","cvss_v4":{"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","score":5.5},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","score":9.1},"cwes":["CWE-125","CWE-190"],"references":["https://github.com/bigcat88/pillow_heif/commit/8305a15d3780c533b762578cbe987d27a2c59c7a","https://github.com/bigcat88/pillow_heif/releases/tag/v1.3.0","https://github.com/bigcat88/pillow_heif/security/advisories/GHSA-5gjj-6r7v-ph3x"],"products":["bigcat88:pillow-heif"],"source":"nvd","synced_at":"2026-10-19T22:24:17.937441719+00:00"},"epss":{"cve":"CVE-2026-28231","score":0.00703,"percentile":0.53302,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-5gjj-6r7v-ph3x","url":"https://osv.dev/vulnerability/GHSA-5gjj-6r7v-ph3x","summary":"pillow-heif: Integer Overflow in Encode Path Buffer Validation Leads to Heap Out-of-Bounds Read","modified":"2026-07-20T19:15:27.655329502Z","packages":[{"ecosystem":"PyPI","name":"pi-heif","purl":"pkg:pypi/pi-heif","ranges":["<1.3.0"],"fixed":["1.3.0"]},{"ecosystem":"PyPI","name":"pillow-heif","purl":"pkg:pypi/pillow-heif","ranges":["<1.3.0"],"fixed":["1.3.0"]}]},{"id":"PYSEC-2026-2248","url":"https://osv.dev/vulnerability/PYSEC-2026-2248","summary":"","modified":"2026-07-13T07:26:30.359630077Z","packages":[{"ecosystem":"PyPI","name":"pi-heif","purl":"pkg:pypi/pi-heif","ranges":["<1.3.0"],"fixed":["1.3.0"]}]},{"id":"PYSEC-2026-2258","url":"https://osv.dev/vulnerability/PYSEC-2026-2258","summary":"","modified":"2026-07-13T07:26:30.359630077Z","packages":[{"ecosystem":"PyPI","name":"pillow-heif","purl":"pkg:pypi/pillow-heif","ranges":["<1.3.0"],"fixed":["1.3.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}