Skip to content
OpenAdvisories
High · 7.5 CVE-2022-30595 BIT-pillow-2022-30595EUVD-2022-0201GHSA-hr8g-f6r6-mr22PYSEC-2022-43145

Buffer over-flow in Pillow

Published May 25, 2022 · Updated Aug 3, 2024 · Assigned by mitre

Description

libImaging/TgaRleDecode.c in Pillow 9.1.0 has a heap buffer overflow in the processing of invalid TGA image files.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 pillow 9.1.1-1 —
Debian 13 pillow 9.1.1-1 —
Debian 12 pillow 9.1.1-1 —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-Pillow 9.1.1-1.1 openSUSE-SU-2025:14645-1, openSUSE-SU-2024:12111-1
ReleasePackageFixed inAdvisory
Alpine v3.24 py3-pillow 9.1.1-r0 —
Alpine v3.23 py3-pillow 9.1.1-r0 —
Alpine v3.22 py3-pillow 9.1.1-r0 —
Alpine v3.21 py3-pillow 9.1.1-r0 —
Alpine v3.20 py3-pillow 9.1.1-r0 —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 py3-pillow 9.1.1-r0 —
Alpine v3.18 py3-pillow 9.1.1-r0 —
Alpine v3.17 py3-pillow 9.1.1-r0 —
Alpine v3.16 py3-pillow 9.1.1-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI pillow >= 9.1.0, < 9.1.1 9.1.1 GHSA-hr8g-f6r6-mr22

Advisories 3

References