Feed
9.8CRITICAL

CVE-2022-30595Buffer over-flow in Pillow

A critical-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 1.8% chance of exploitation in the next 30 days. A fixed version is named.

Exploited in the wild
Not in KEV
EPSS
1.8%
percentile 79%
Priority
27/100 medium
how it is computed
Fix
Named by a source
CVE published 25 May 2022

Reference

None of the "Needs attention" rules apply right now.

EPSS 1.8% (+2) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)

Immediate actions

Who should check

  • pillow (PyPI) pkg:pypi/pillow

    • Affected>= 9.1.0, < 9.1.1Fixed in9.1.1OSV (PYSEC-2022-43145)

Confirmed facts

CVSS
9.8 CRITICAL (version 3.1)
Score from
PYSEC-2022-43145
Attack vector
network
Attack complexity
low
Privileges required
none
User interaction
none
Weakness
CWE-120

Unknowns

  • We show one CVSS score. Other sources may score this CVE differently.

Advisory text

Quoted from the source advisory (untrusted)When reading a TGA file with RLE packets that cross scan lines, Pillow reads the information past the end of the first line without deducting that from the length of the remaining file data. This vulnerability was introduced in Pillow 9.1.0, and can cause a heap buffer overflow. Opening an image with a zero or negative height has been found to bypass a decompression bomb check. This will now raise a SyntaxError instead, in turn raising a PIL.UnidentifiedImageError.

Update history

No events recorded. Our history starts on 1 Jan 2025.

References

Sources

This page is our own presentation: records are shortened, normalised and merged. Licences

Last checked: kev 24 min ago · osv 24 min ago · nvd 85 min ago · epss 24 min ago · JSON · ask via MCP: explain_vulnerability

Also known as BIT-pillow-2022-30595, GHSA-hr8g-f6r6-mr22, PYSEC-2022-43145