VulnPulse
重要脆弱性アドバイザリPython

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

影響: pip:Pillow <= 12.3.0 → 13.0.0

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 outrow[width - 1], which is outrow[-1] when the width is 0. The process crashes. Details The PPM parser reads width and height with no lower-bound check: - src/PIL/PpmImagePlugin.py:119 The native apply() writes the row edges with no guard that the width is positive: - src/_imagingmorp…

GitHub Advisory Databaseで読む

CVECVE-2026-112397
情報源GitHub Advisory Database
取得日時2026/10/22 01:17
データMarkdown JSON

2026/10/21 05:56、GitHub Advisory Databaseが「Pillow: Out-of-bounds access in _imagingmorph on a zero-width image」を公開しました (種別: 脆弱性アドバイザリ)。重大度は「重要」(high) です。関連する技術: Python。CVE: CVE-2026-112397。