Vulnerability
CVE-2026-112397
Pillow is a Python imaging library. Prior to 13.0.0, Pillow's ImageMorph.MorphOp.apply() can access memory before a row buffer for a zero-width image. PPM and PGM input can create an image with width zero, and the native morphology routine indexes outrow[width - 1] without rejecting that geometry. An attacker can supply such an image to an application that applies a morphology operation. This can crash the process. This issue is fixed in version 13.0.0.
105 advisories report this vulnerability, across 11 ecosystems.
Advisories in Chainguard
- CGA-2fc2-99xh-58cm
- CGA-2fqv-xj23-x8hh
- CGA-2v8w-46vv-vvrc
- CGA-35m3-85mv-h3wf
- CGA-3mh2-fmxh-phmf
- CGA-472v-wvxx-h25j
- CGA-475f-25pg-9f76
- CGA-4h2f-8gr4-47q6
- CGA-4pqq-8825-mw3r
- CGA-4vq6-wgq3-8q36
- CGA-5f8g-m2j8-7q6m
- CGA-6232-874m-f9rq
- CGA-627r-8m86-g38x
- CGA-632g-833f-jx96
- CGA-635r-jh64-43xq
- CGA-6f8f-22vj-x5gh
- CGA-73q9-6m67-rw53
- CGA-77m8-8rpr-33v5
- CGA-7867-xqc7-xfvf
- CGA-7fp4-vq65-467j
- CGA-7pcc-gwhx-2ffw
- CGA-858h-7mph-v9jp
- CGA-8rg7-j3c5-xc4j
- CGA-c27g-j8gq-2gjm
- CGA-c2rm-42r5-3jpw
- CGA-cfp2-84cv-wh5r
- CGA-cgj6-66hm-p36c
- CGA-cgmj-84mg-98cf
- CGA-chpf-pmhc-pg8r
- CGA-cq8j-5m9c-8jgw
- CGA-cwf4-mxmg-9qm6
- CGA-cx2m-cqxm-ghhh
- CGA-cx88-mmqj-4qwf
- CGA-f3rj-5c2w-cmr5
- CGA-f429-55fj-4q9j
- CGA-f99h-q3g8-g3f6
- CGA-fqm7-vcch-9pjw
- CGA-g2g6-jcm6-592v
- CGA-gf7j-6chr-gj5j
- CGA-gm5v-53jx-3h76
- CGA-gp96-8qw8-3rcg
- CGA-h4r8-q92p-7c2m
- CGA-hc4q-8j25-f6fw
- CGA-hj35-8c89-qc3c
- CGA-hmgq-cf3j-8c37
- CGA-hp3m-pxfj-v4wr
- CGA-hw78-q2mr-xm24
- CGA-j929-j72c-w9wf
- CGA-jc7r-vhg9-f74r
- CGA-jfmw-hxxm-fxg9
- CGA-m4w5-r53x-wrr8
- CGA-m74j-8vp5-4cqw
- CGA-m85c-2r83-3h7x
- CGA-mc8w-2q35-65jr
- CGA-mgpg-8x78-3fvx
- CGA-mrm3-hv8h-w553
- CGA-mxhx-4762-qcpc
- CGA-p32x-q7c9-fr38
- CGA-px4w-8whm-g6f8
- CGA-q42j-j6x6-3qcp
- CGA-q58v-jfc8-7rfr
- CGA-q5vj-mfc8-r4rg
- CGA-q647-jv97-44qc
- CGA-q994-vvhw-3m4j
- CGA-qhrm-3xv3-2v9x
- CGA-qp33-f6vc-26wf
- CGA-qvq5-qrqw-qmrh
- CGA-r285-85xg-f676
- CGA-rjgq-4qw8-93fj
- CGA-v9wp-5wpc-7235
- CGA-vr45-6qmj-68g2
- CGA-vrp6-6g3j-3w6j
- CGA-vvw2-g2v8-9fmq
- CGA-w436-8gjw-rfx5
- CGA-w67m-j49q-2hmc
- CGA-wffr-p6f5-cxhh
- CGA-wfpv-w72g-27v3
- CGA-whjw-mqjq-6462
- CGA-wp9p-6w5j-g3jr
- CGA-xfwp-r76v-m75h
- CGA-xg32-rmg8-qjxf
- CGA-xr6f-45jx-qvhm