9.8

CVE-2022-30595: python pillow Out-of-bounds Write

Modified
AliasesGHSA-hr8g-f6r6-mr22BIT-pillow-2022-30595PYSEC-2022-43145
Published 25-05-2022Last modified 03-08-2024

Vulnerability summary

CVE-2022-30595 is a critical (CVSS 9.8) Out-of-bounds Write vulnerability in python pillow. EPSS estimates a 2.33% chance of exploitation in the next 30 days, higher than 83.5% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
9.8/10
010
Critical · v3.1 (NVD)
EPSS score
2.33%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 2 · Related 1

Timeline

  1. 25-05-2022
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

Description

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

CVSS metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

2.33%

Chance of exploitation in the next 30 days

Percentile

84%

Versus all other CVEs

30-day change

No change 0.00 pp

From 2.33% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Pillow

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Alpine1 product
  • py3-pillow< 9.1.1-r0
Debian1 product
  • pillow< 9.1.1-1
Opensuse1 product
  • python-Pillow&distro=openSUSE Tumbleweed< 9.1.1-1.1
PyPI1 product
  • pillow≥ 9.1.0, < 9.1.1
Python1 product
Ubuntu1 product
  • pillow< 9.0.1-1build1

6 vendors · 6 products

References

12 links
Show all 12 references