Bug 2558570 (CVE-2026-96644) - CVE-2026-96644 pillow: Pillow: Denial of Service via out-of-bounds read in metafile parser
Summary: CVE-2026-96644 pillow: Pillow: Denial of Service via out-of-bounds read in me...
Keywords:
Status: NEW
Alias: CVE-2026-96644
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-10-21 21:11 UTC by OSIDB Bzimport
Modified: 2026-10-31 08:31 UTC (History)
59 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-10-21 21:11:16 UTC
Pillow is a Python imaging library. Prior to 13.0.0 on Windows, src/PIL/WmfImagePlugin.py passes unchecked 32-bit WMF or EMF dimensions to the native drawwmf handler in src/display.c. The handler sizes a DIB allocation from 16-bit-truncated bcWidth and bcHeight fields but copies pixel data using the original full dimensions. A crafted wide, short metafile can pass the pixel-count decompression-bomb check and make the Windows-only renderer read beyond the heap buffer, potentially disclosing memory or crashing the process. This issue is fixed in version 13.0.0.


Note You need to log in before you can comment on or make changes to this bug.