2 matches found
GHSA-58R4-6RV3-GFH8 Pillow: Out-of-bounds access in _imagingmorph on a zero-width image
Summary A PPM or PGM file can declare a width of 0, which Pillow accepts, producing an image of size 0, N. Passing that image to ImageMorph.MorphOp.apply makes the native morphology code index a row buffer at outrowwidth - 1, which is outrow-1 when the width is 0. The process crashes. Details The...
Pillow: Out-of-bounds access in _imagingmorph on a zero-width image
Summary A PPM or PGM file can declare a width of 0, which Pillow accepts, producing an image of size 0, N. Passing that image to ImageMorph.MorphOp.apply makes the native morphology code index a row buffer at outrowwidth - 1, which is outrow-1 when the width is 0. The process crashes. Details The...