Bug 2572874 (CVE-2026-128067)

Summary: CVE-2026-128067 pillow: Pillow: Memory corruption via crafted TIFF image geometry tags
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: alinfoot, anpicker, aprice, aruklets, bbrownin, bcaton, cmyers, dfreiber, dnakabaa, doconnor, drow, dtrifiro, ebourniv, ehelms, hasun, ilpinto, jburrell, jfula, jlanda, jmitchel, jowilson, jpasqual, jsamir, juwatts, kaycoth, kshier, lblicha, lcouzens, ltomasbo, mhayden, mhulan, mwoodson, nyancey, oezr, ogajduse, ometelka, osousa, ptisnovs, rbobbitt, rchan, rhel-process-autobot, sbunciak, sdoran, shudeshp, simaishi, smallamp, stcannon, syedriko, tguha, vkumar, watson-tool-maintainers, weaton, xdharmai, yguenane, ykashtan, zhunting
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in Pillow. When saving compressed Tagged Image File Format (TIFF) images, manipulated geometry metadata can cause the encoder to allocate an undersized row buffer. An attacker supplying crafted image metadata can trigger out-of-bounds memory reads or writes during image processing. This flaw can lead to memory corruption, information disclosure of heap memory, or an application crash resulting in a Denial of Service (DoS).
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-11-12 23:01:19 UTC
Pillow 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.