Read the docs
TI-2022-12734 Aliases CVE-2022-30595GHSA-hr8g-f6r6-mr22

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

Priority MEDIUM 47CWE-787Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-787 and the CVSS impact.

Summary

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

Why it matters now

EPSS 0.02328 83rd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed Pillow (PyPI): 9.1.1

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—Pillow (PyPI)9.1.0 to before 9.1.19.1.1Patch availableGHSA-hr8g-f6r6-mr22
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • Pillow (PyPI) Vendor— Affected 9.1.0 to before 9.1.1 Fixed in 9.1.1 Patch available GHSA-hr8g-f6r6-mr22

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:python:pillow:9.1.0:*:*:*:*:*:*:*9.1.0Vulnerablepython-pillow
  • cpe:2.3:a:python:pillow:9.1.0:*:*:*:*:*:*:* Versions 9.1.0 Vulnerable ·python-pillow

Remediation

  • Fix · GHSA-hr8g-f6r6-mr22 Pillow (PyPI) Fixed in 9.1.1 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Low. Red Hat's page for this CVE →

Not affected: 2 products
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-30595
  2. 2026-10-03 Alias added: GHSA-hr8g-f6r6-mr22

References

  • TI-2026-76627 Out-of-bounds read in Pillow TIFF encoder ColorMap handling CVSS 4.0HIGH 8.8
  • TI-2026-76625 Quadratic-time denial of service in Pillow PDF save_all CVSS 4.0HIGH 8.7
  • TI-2026-76605 NULL pointer dereference in Pillow's Image.merge function CVSS 4.0HIGH 8.7
  • TI-2026-76604 Out-of-bounds read in Pillow TIFF decoding leaks heap memory CVSS 4.0HIGH 8.8
  • TI-2026-76602 Double free in Pillow ImagingScaleAffine on allocation failure CVSS 4.0HIGH 8.7
  • TI-2026-76600 GIF seek in Pillow keeps rejected size, allowing denial of service CVSS 4.0HIGH 8.7
See all 110 →

Sources