Zero Day MonitorZDM
DashboardVulnerabilitiesTrendingZero-DaysNewsAbout
Login
ImpressumPrivacy Policy
Zero Day Monitor © 2026
4058 articles · 260936 vulns · 37/41 feeds (7d)
← Back to list
—
CVE-2026-112392PATCHED
python · pillow

Pillow: NULL dereference in ImagingExpand via rank filters on zero-size images

Description

Pillow is a Python imaging library. Prior to 13.0.0, Pillow's rank-based filters can dereference invalid image storage for a zero-size image. ImagingExpand() allocates a non-empty output and then faults while replicating edges by reading the first pixel from empty input storage; ImagingRankFilter is never reached. An attacker can supply or cause creation of a zero-size image to an application that applies a rank, median, minimum, or maximum filter. This causes a native process crash. This issue is fixed in version 13.0.0.

Affected Products

VendorProductVersions
pythonpillowpip/Pillow: <= 12.3.0

Also Affects

Downstream vendors/products affected by this vulnerability

VendorProductSourceConfidence
fedorafedora linuxcert_advisory90%
red hatenterprise linuxcert_advisory90%
resfresf rocky linuxcert_advisory90%

References

  • https://github.com/python-pillow/Pillow/security/advisories/GHSA-27h8-gf7j-v5hc(x_refsource_CONFIRM)
  • https://github.com/python-pillow/Pillow/commit/443e3130a8c11594fd0e296afad497e11e678961(x_refsource_MISC)
  • https://github.com/python-pillow/Pillow/releases/tag/13.0.0(x_refsource_MISC)

Related News (3 articles)

Tier B
BSI Advisories6d ago
[NEU] [mittel] Red Hat Enterprise Linux (pillow and aspell): Mehrere Schwachstellen
→ No new info (linked only)
Tier C
oss-security15d ago
Pillow 13.0.0 fixes long list of vulnerabilities
→ No new info (linked only)
Tier C
VulDB17d ago
CVE-2026-112392 | python-pillow Pillow up to 12.x Rank-based filters ImagingExpand null pointer dereference
→ No new info (linked only)

Discussion (0)

Loading…

CISA KEV❌ No
Actively exploited❌ No
Patch available
Pillow@13.0.0
CWECWE-476
PublishedOct 19, 2026
Last enriched16d agov2
Trending Score30
Source articles3
Independent3
Info Completeness8/14
Missing: cvss, epss, kev, exploit, iocs, mitre_attack

Community Vote

0
Login to vote
0 upvotes0 downvotes
No votes yet

Related CVEs (5)

CRITICALCVE-2026-112900
Pillow: Argument Injection in Ghostscript call, potentially leading into RCE
Trending: 43
CRITICALCVE-2026-112393
Pillow: Heap buffer overflow in _tiffWriteProc when saving TIFF to BytesIO
Trending: 39
CRITICALCVE-2026-112398
Pillow: Heap buffer overflow in FlashPix (FPX) JPEG decoding leads to code execution
Trending: 39
HIGHCVE-2026-112894
Pillow: Quadratic-time DoS in PDF save_all (PdfParser.next_object_id)
Trending: 30
HIGHCVE-2026-112402
Pillow: Double free in ImagingScaleAffine on calloc failure via Image.transform
Trending: 30

Pin to Dashboard

Verification

State: unverified
Confidence: 0%

Vulnerability Timeline

CVE Published
Oct 19, 2026
Discovered by ZDM
Oct 19, 2026
Updated: severity, patchAvailable
Oct 20, 2026
Patch Available
Oct 20, 2026

Version History

v2
Last enriched 16d ago
v2Tier C16d ago

Updated severity from NONE to MEDIUM and confirmed patchAvailable version is 13.0.0

severitypatchAvailable
via VulDB
v117d ago

Initial creation