跳到正文
GitHub 安全公告库 (GHSA)·· 2 天前AI 评分44

Pillow 的 _imagingmorph 在零宽度图像上存在越界访问漏洞

Pillow: Out-of-bounds access in _imagingmorph on a zero-width image

AI 导读

Pillow 的 PPM/PGM 解析器接受宽度为 0 的图像,将其传给 ImageMorph.MorphOp.apply() 时,_imagingmorph.c 中的原生形态学代码会写入 outrow[width - 1](即 outrow[-1]),导致进程崩溃。

来源:GitHub 安全公告库 (GHSA) · github.com