Amazon Linux Security Advisory
ALAS2-2026-3312
Amazon Linux 2 2017.12 - ALAS2-2026-3312: important priority package update for python-pillow
Details
Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2026-42311: Pillow is a Python imaging library. From version 10.3.0 to before version 12.2.0, processing a malicious PSD file could lead to memory corruption, potentially resulting in a crash or arbitrary code execution. This issue has been patched in version 12.2.0.
CVE-2026-42308: Pillow is a Python imaging library. Prior to version 12.2.0, if a font advances for each glyph by an exceeding large amount, when Pillow keeps track of the current position, it may lead to an integer overflow. This issue has been patched in version 12.2.0.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Amazon Linux:2 | python-pillow | All versions before 2.0.0-23.gitd1c6db8.amzn2.0.18 (fixed in 2.0.0-23.gitd1c6db8.amzn2.0.18) |
| Amazon Linux:2 | python-pillow-debuginfo | All versions before 2.0.0-23.gitd1c6db8.amzn2.0.18 (fixed in 2.0.0-23.gitd1c6db8.amzn2.0.18) |
| Amazon Linux:2 | python-pillow-devel | All versions before 2.0.0-23.gitd1c6db8.amzn2.0.18 (fixed in 2.0.0-23.gitd1c6db8.amzn2.0.18) |
| Amazon Linux:2 | python-pillow-doc | All versions before 2.0.0-23.gitd1c6db8.amzn2.0.18 (fixed in 2.0.0-23.gitd1c6db8.amzn2.0.18) |
| Amazon Linux:2 | python-pillow-sane | All versions before 2.0.0-23.gitd1c6db8.amzn2.0.18 (fixed in 2.0.0-23.gitd1c6db8.amzn2.0.18) |
| Amazon Linux:2 | python-pillow-tk | All versions before 2.0.0-23.gitd1c6db8.amzn2.0.18 (fixed in 2.0.0-23.gitd1c6db8.amzn2.0.18) |