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 Wolfi
- CGA-2v8w-46vv-vvrc
- CGA-632g-833f-jx96
- CGA-635r-jh64-43xq
- CGA-7fp4-vq65-467j
- CGA-c27g-j8gq-2gjm
- CGA-chpf-pmhc-pg8r
- CGA-f3rj-5c2w-cmr5
- CGA-f429-55fj-4q9j
- CGA-f99h-q3g8-g3f6
- CGA-fqm7-vcch-9pjw
- CGA-g2g6-jcm6-592v
- CGA-hc4q-8j25-f6fw
- CGA-hj35-8c89-qc3c
- CGA-m74j-8vp5-4cqw
- CGA-mrm3-hv8h-w553
- CGA-q42j-j6x6-3qcp
- CGA-qhrm-3xv3-2v9x
- CGA-vr45-6qmj-68g2
- CGA-w67m-j49q-2hmc
- CGA-wffr-p6f5-cxhh