Feed
6.5MEDIUM
CVE-2022-22816Out-of-bounds Read in Pillow
A medium-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 1.7% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 1.7%
- percentile 78%
- Fix
- Named by a source
- CVE published 10 Jan 2022
Reference
None of the "Needs attention" rules apply right now.
EPSS 1.7% (+2) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)
Immediate actions
- pillow (PyPI): upgrade to 9.0.0 or later on your release line.
- Commit / pull request: https://github.com/python-pillow/Pillow/pull/5920
- Commit / pull request: https://github.com/python-pillow/Pillow/commit/5543e4e2d409cd9e409bc64cdc77be0af007a31f
Who should check
pillow (PyPI) pkg:pypi/pillow
- Affected< 9.0.0Fixed in9.0.0OSV (PYSEC-2022-9)
Confirmed facts
- CVSS
- 6.5 MEDIUM (version 3.1)
- Score from
- GitHub Advisory Database (GHSA-xrcv-f9gm-v42c)
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Weakness
- CWE-125
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)path_getbbox in path.c in Pillow before 9.0.0 has a buffer over-read during initialization of ImagePath.Path.
Update history
No events recorded. Our history starts on 1 Jan 2025.
References
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2022-22816
- commit / pull requesthttps://github.com/python-pillow/Pillow/pull/5920
- commit / pull requesthttps://github.com/python-pillow/Pillow/commit/5543e4e2d409cd9e409bc64cdc77be0af007a31f
- advisoryhttps://github.com/advisories/GHSA-xrcv-f9gm-v42c
- otherhttps://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2022-9.yaml
- otherhttps://github.com/python-pillow/Pillow
- otherhttps://github.com/python-pillow/Pillow/blob/c5d9223a8b5e9295d15b5a9b1ef1dae44c8499f3/src/path.c#L331
- otherhttps://lists.debian.org/debian-lts-announce/2022/01/msg00018.html
- otherhttps://pillow.readthedocs.io/en/stable/releasenotes/9.0.0.html#fixed-imagepath-path-array-handling
- otherhttps://security.gentoo.org/glsa/202211-10
- otherhttps://www.debian.org/security/2022/dsa-5053
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- GHSA-xrcv-f9gm-v42c (GitHub Advisory Database), CC BY 4.0.
- PYSEC-2022-9 (PyPA Advisory Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 45 min ago · osv 45 min ago · nvd 44 min ago · epss 44 min ago · JSON · ask via MCP: explain_vulnerability
Also known as BIT-pillow-2022-22816, GHSA-xrcv-f9gm-v42c, PYSEC-2022-9