Ubuntu Fixes Pillow Regression Affecting Image Processing
A recent update resolves a regression in Pillow that caused image resizing failures. The initial fix addressed multiple denial-of-service and crash vulnerabilities.
TL;DR
- Ubuntu released USN-9064-2 to fix a regression in the Pillow library.
- The regression caused failures when resizing images using the NEAREST filter or with '1'/'P' modes.
- Originally, USN-9064-1 patched several high-risk vulnerabilities including infinite loops and crashes.
- Affected systems include multiple Ubuntu LTS versions from 18.04 through 26.10.
- Organizations using Pillow on Ubuntu should apply the latest updates immediately.
Ubuntu has issued a follow-up security update, USN-9064-2, to resolve a newly introduced regression in the Python imaging library Pillow. The previous update, USN-9064-1, aimed to patch critical vulnerabilities but inadvertently broke core image resizing functionality.
The regression impacts applications relying on Pillow’s NEAREST resampling filter or those processing images in '1' or 'P' mode. These issues primarily affect Ubuntu LTS versions ranging from 18.04 to 26.10. Developers and system administrators managing web or application services dependent on Pillow should prioritize applying the updated packages.
Root Cause and Impact of the Regression
- The regression was introduced in USN-9064-1 as part of the fix for CVE-2026-112402.
- Image operations involving the NEAREST filter or specific pixel modes ('1', 'P') now function correctly after the update.
- Applications performing dynamic image manipulation may have experienced runtime errors or unexpected behavior.
- No new security risks were introduced by the regression itself—only functional degradation.
Previously Patched Vulnerabilities
- CVE-2026-112390: Infinite loop in MIC image frame count parsing leading to denial of service.
- CVE-2026-112391: Unbounded recursion in PdfParser.get_value(), exploitable for DoS via crafted PDFs.
- CVE-2026-112392: Heap buffer over-read due to improper handling of zero-size images in rank-based filters.
- Multiple Ubuntu LTS releases were impacted, emphasizing the importance of timely patch deployment.
Sources
Sources
Security email updates
One digest email when we publish new security articles (TL;DR plus links to read more). Unsubscribe anytime from the message footer. See our Privacy Policy.