{"cve":"CVE-2026-59198","nvd":{"published":"2026-07-14T16:17:01.797","modified":"2026-10-24T21:10:00.130","status":"Analyzed","description":"Pillow is a Python imaging library. From 5.2.0 until 12.3.0, Pillow's TGA RLE encoder reads past its packed row buffer when saving a mode 1 image with TGA RLE compression, allowing adjacent process heap bytes to be copied into the generated TGA file. This issue is fixed in version 12.3.0.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5},"cwes":["CWE-125"],"references":["https://github.com/python-pillow/Pillow/commit/eada3cbd7fb9963ee90673fb7b5270124a0d5f4b","https://github.com/python-pillow/Pillow/pull/9709","https://github.com/python-pillow/Pillow/releases/tag/12.3.0","https://github.com/python-pillow/Pillow/security/advisories/GHSA-fj7v-r99m-22gq","https://github.com/python-pillow/Pillow/security/advisories/GHSA-fj7v-r99m-22gq"],"products":["python:pillow"],"source":"nvd","synced_at":"2026-10-25T17:50:06.907763985+00:00"},"epss":{"cve":"CVE-2026-59198","score":0.00313,"percentile":0.23946,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-fj7v-r99m-22gq","url":"https://osv.dev/vulnerability/GHSA-fj7v-r99m-22gq","summary":"Pillow TGA RLE encoder can serialize up to ~57 KB of adjacent heap data into generated images","modified":"2026-09-10T03:50:51.891240357Z","packages":[{"ecosystem":"PyPI","name":"pillow","purl":"pkg:pypi/pillow","ranges":[">=5.2.0 <12.3.0"],"fixed":["12.3.0"]}]},{"id":"PYSEC-2026-3494","url":"https://osv.dev/vulnerability/PYSEC-2026-3494","summary":"Pillow TGA RLE encoder can serialize up to ~57 KB of adjacent heap data into generated images","modified":"2026-07-23T15:11:28.382441947Z","packages":[{"ecosystem":"PyPI","name":"pillow","purl":"pkg:pypi/pillow","ranges":[">=5.2.0 <12.3.0"],"fixed":["12.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."]}