BREACHSPIDER
CVE databaseVendorsIntelResearchFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2022-22817 in Debian Linux and 1 more product

Critical 9.8 Industrial / OT

PIL.ImageMath.eval in Pillow before 9.0.0 allows evaluation of arbitrary expressions, such as ones that use the Python exec method. A lambda expression could also be used.

Affects 2 products from 3 vendors. Description from NVD and MITRE.

CVSS 3.19.8
EPSS3.7%
EPSS percentile90th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Debian Debian Linux 9.0 10.0 11.0
Python Pillow < 9.0.1
Schneider-Electric — —

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Record details

CVE IDCVE-2022-22817
BreachSpider IDBS-2022-GLOBAL-071553-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2022-01-10
Last modified2026-06-17
SourceNVD

Compensating controls AI-drafted, review before use

Implement strict input validation and sanitization for all image processing functions, especially those using the Pillow library. Ensure that only trusted sources can provide images to the system. Consider using a web application firewall (WAF) to block suspicious requests.

NERC CIP: CIP-007 CIP-007-R2

IEC 62443: SR 7.6

Not validated for your network. A compensating control does not replace the vendor fix.

Check devices from your own code or AI agent: free 14-day trial

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.