{"schema_version":"1.7.2","id":"OESA-2026-3189","modified":"2026-08-01T16:41:02Z","published":"2026-08-01T16:41:02Z","upstream":["CVE-2026-54058","CVE-2026-59197","CVE-2026-59198","CVE-2026-59199","CVE-2026-59205"],"summary":"python-pillow security update","details":"Pillow is the friendly PIL fork by Alex Clark and Contributors. PIL is the Python Imaging \\ Library by Fredrik Lundh and Contributors. As of 2019, Pillow development is supported by Tidelift.    of CVE-2022-22815,CVE-2022-22816)\r\n\r\nSecurity Fix(es):\n\nPillow is a Python imaging library. Prior to 12.3.0, when Pillow loads an uncompressed McIdas AREA image from a filename through the mmap raw codec path, attacker-controlled header words can set a row stride smaller than the natural row width, causing pixel access such as Image.tobytes(), getpixel, convert, or save to read beyond the mapped region and disclose adjacent process memory or fault. This issue is fixed in version 12.3.0.(CVE-2026-54058)\n\nPillow is a Python imaging library. Prior to 12.3.0, Pillow&apos;s public rank-filter API can trigger a native heap out-of-bounds write when given a very large odd filter size because ImageFilter.RankFilter.filter() calls image.expand(size // 2, size // 2) before rank-filter size validation and ImagingExpand() computes output dimensions with unchecked signed int arithmetic. This issue is fixed in version 12.3.0.(CVE-2026-59197)\n\nPillow is a Python imaging library. From 5.2.0 until 12.3.0, Pillow&apos;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.(CVE-2026-59198)\n\nPillow is a Python imaging library. Prior to 12.3.0, Pillow public image coordinate APIs can trigger a native heap out-of-bounds write when given coordinates near the signed 32-bit integer limits in Image.paste(), Image.crop(), or Image.alpha_composite(). This issue is fixed in version 12.3.0.(CVE-2026-59199)\n\nPillow is a Python imaging library. Prior to 12.3.0, Pillow&apos;s ImageCms.ImageCmsTransform.apply(im, imOut) API can trigger controlled native heap corruption when the caller supplies an output image whose mode does not match the transform&apos;s declared output mode. This issue is fixed in version 12.3.0.(CVE-2026-59205)","affected":[{"package":{"ecosystem":"openEuler:24.03-LTS-SP1","name":"python-pillow","purl":"pkg:rpm/openEuler/python-pillow&distro=openEuler-24.03-LTS-SP1"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.3.0-13.oe2403sp1"}]}],"ecosystem_specific":{"aarch64":["python-pillow-debuginfo-10.3.0-13.oe2403sp1.aarch64.rpm","python-pillow-debugsource-10.3.0-13.oe2403sp1.aarch64.rpm","python3-pillow-10.3.0-13.oe2403sp1.aarch64.rpm","python3-pillow-devel-10.3.0-13.oe2403sp1.aarch64.rpm","python3-pillow-qt-10.3.0-13.oe2403sp1.aarch64.rpm","python3-pillow-tk-10.3.0-13.oe2403sp1.aarch64.rpm"],"noarch":["python3-pillow-help-10.3.0-13.oe2403sp1.noarch.rpm"],"src":["python-pillow-10.3.0-13.oe2403sp1.src.rpm"],"x86_64":["python-pillow-debuginfo-10.3.0-13.oe2403sp1.x86_64.rpm","python-pillow-debugsource-10.3.0-13.oe2403sp1.x86_64.rpm","python3-pillow-10.3.0-13.oe2403sp1.x86_64.rpm","python3-pillow-devel-10.3.0-13.oe2403sp1.x86_64.rpm","python3-pillow-qt-10.3.0-13.oe2403sp1.x86_64.rpm","python3-pillow-tk-10.3.0-13.oe2403sp1.x86_64.rpm"]}}],"references":[{"type":"ADVISORY","url":"https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2026-3189"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54058"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59197"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59198"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59199"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59205"}],"database_specific":{"severity":"High"}}
