{"id":"OESA-2026-5229","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. From 1.0 through 12.3.0, ImageFileDirectory_v2.load() in src/PIL/TiffImagePlugin.py retains a separate bytes object for each out-of-line IFD tag value without limiting the total data read or preventing distinct tags from referencing the same file region. A small crafted TIFF or EXIF-bearing JPEG, PNG, WebP, or MPO can therefore cause memory use quadratic in the input size. TIFF and some JPEG paths trigger parsing during Image.open(), while other formats are exposed when EXIF is requested, including through getexif() or ImageOps.exif_transpose(). The declared pixel dimensions do not bound this metadata allocation, so decompression-bomb checks do not prevent process memory exhaustion. This issue is fixed in version 13.0.0.(CVE-2026-128066)\n\nPillow is a Python imaging library. From 2.3.0 through 12.3.0, Pillow applications that save compressed TIFF images through libtiff can pass attacker-controlled image geometry tags to the encoder while allocating its row buffer from the actual image dimensions. The affected TiffImagePlugin._save path allows ImageWidth, ImageLength, or SamplesPerPixel from exif=, tiffinfo=, or a source TIFF IFD to make libtiff consume a larger scanline than the buffer supplied by ImagingLibTiffEncode. This can read heap memory into the generated TIFF or crash the process. When TIFF Predictor 2 is enabled, libtiff can rewrite the oversized scanline in place and corrupt memory beyond the buffer. A carried-over PlanarConfiguration value of 2 instead makes libtiff use a shorter scanline and can produce an undecodable output file, but is not established to cause the out-of-bounds access. This issue is fixed in version 13.0.0.(CVE-2026-128067)","modified":"2026-12-01T05:45:15.555855280Z","published":"2026-11-26T12:14:06Z","upstream":["CVE-2026-128066","CVE-2026-128067"],"database_specific":{"severity":"High"},"references":[{"type":"ADVISORY","url":"https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2026-5229"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128066"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128067"}],"affected":[{"package":{"name":"python-pillow","ecosystem":"openEuler:24.03-LTS-SP3","purl":"pkg:rpm/openEuler/python-pillow&distro=openEuler-24.03-LTS-SP3"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.3.0-16.oe2403sp3"}]}],"ecosystem_specific":{"x86_64":["python-pillow-debuginfo-10.3.0-16.oe2403sp3.x86_64.rpm","python-pillow-debugsource-10.3.0-16.oe2403sp3.x86_64.rpm","python3-pillow-10.3.0-16.oe2403sp3.x86_64.rpm","python3-pillow-devel-10.3.0-16.oe2403sp3.x86_64.rpm","python3-pillow-qt-10.3.0-16.oe2403sp3.x86_64.rpm","python3-pillow-tk-10.3.0-16.oe2403sp3.x86_64.rpm"],"aarch64":["python-pillow-debuginfo-10.3.0-16.oe2403sp3.aarch64.rpm","python-pillow-debugsource-10.3.0-16.oe2403sp3.aarch64.rpm","python3-pillow-10.3.0-16.oe2403sp3.aarch64.rpm","python3-pillow-devel-10.3.0-16.oe2403sp3.aarch64.rpm","python3-pillow-qt-10.3.0-16.oe2403sp3.aarch64.rpm","python3-pillow-tk-10.3.0-16.oe2403sp3.aarch64.rpm"],"noarch":["python3-pillow-help-10.3.0-16.oe2403sp3.noarch.rpm"],"src":["python-pillow-10.3.0-16.oe2403sp3.src.rpm"]},"database_specific":{"source":"https://repo.openeuler.org/security/data/osv/OESA-2026-5229.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"}]}