// Security Advisory Triage

Pillow NULL pointer dereference in Image.merge, fixed in 13.0.0

GitHub advisories — pip · published 2026-10-22 17:16 UTC
ACTION NEEDED PATCH_NOW SECURITY
WHAT CHANGEDCVE-2026-112405 published 21 October 2026. Pillow's Image.merge function contains a NULL pointer dereference triggered by an unvalidated band 0 parameter. Severity rated high. First patched version is 13.0.0.
WHY IT MATTERSServices using Pillow for image processing can crash or experience denial of service when Image.merge receives malicious input. Any endpoint accepting user-supplied images and calling Image.merge is exposed.
WHAT TO DOUpgrade Pillow to 13.0.0 or later. Check requirements.txt, Pipfile, and pyproject.toml for pillow<13.0.0 and update. Test image processing paths after upgrade.
Model-reported confidence 85% (not measured accuracy) Primary source ↗ written by anthropic/claude-sonnet-4.5
Show the reasoning — raw diff, triage verdict, confidence
RAW DIFF
+ghsa_id: GHSA-cp9v-662q-vvx9
+summary: Pillow: NULL pointer dereference in Image.merge via an unvalidated band 0
+severity: high
+published_at: 2026-10-21T20:30:25Z
+cve_id: CVE-2026-112405
+vulnerabilities[].package.name: pillow
+vulnerabilities[].first_patched_version: 13.0.0
HOW IT WAS JUDGED
Triage signals below are model-reported assertions, preserved verbatim; they are not independent arithmetic verification.
triage verdictMATERIAL at 0.78, needed 0.5
triage reasoningPillow is a standard Python image library in many service dependency trees. High-severity NULL pointer dereference with a patch available warrants evaluation.
signalsknown CVE with assigned ID · high severity rating · first patched version specified (13.0.0) · Pillow is a common image processing dependency in Python services · NULL pointer dereference can cause denial of service or crash
suppression—
triage modelanthropic/claude-haiku-4.5 ($0.00000)
writer modelanthropic/claude-sonnet-4.5 ($0.00000)