SecurityContext

CVE-2022-30595: Pillow - Buffer Overflow

  • Cve: CVE-2022-30595
  • Name: Pillow - Buffer Overflow
  • Description: libImaging/TgaRleDecode.c in Pillow 9.1.0 has a heap buffer overflow in the processing of invalid TGA image files.
  • Impact: Attackers can cause crashes or execute arbitrary code by processing maliciously crafted TGA files.
  • Remediation: Update to the latest version of Pillow where the issue is fixed.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: remote_code_execution, denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.02347
  • Epss percentile: 0.84099
  • Assignee: [email protected]
  • Published at: 2022-05-25T12:15:08Z
  • Age in days: 1644
  • Modified at: 2026-06-17T04:43:54Z
  • Public exploits total: 1
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-30595
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-787Out-of-bounds Write

Public exploits

UrlSourceAdded date
https://github.com/python-pillow/Pillow/blob/main/src/libImaging/TgaRleDecode.cnvd2022-05-25

References

UrlSourceTags
https://github.com/python-pillow/Pillow/blob/main/src/libImaging/TgaRleDecode.cnvdExploit, Third Party Advisory
https://pillow.readthedocs.io/en/stable/releasenotes/9.1.1.htmlnvdRelease Notes, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
python:pillow= 9.1.0nonvd/v1/products/python/pillow

Projects

RepositoryLink kindsIndexedUrl
python-pillow/Pillowcommit, fix, packageyes/v1/repositories/python-pillow/Pillow

Index

  • Repositories: 914
  • Repositories high signal: 499
  • Packages: 1

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2022-05-25
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts