CVE-2022-22816: Pillow - Buffer Over-read
- Cve: CVE-2022-22816
- Name: Pillow - Buffer Over-read
- Description: path_getbbox in path.c in Pillow before 9.0.0 has a buffer over-read during initialization of ImagePath.Path.
- Impact: Potential for information disclosure or application crash due to buffer over-read during image path processing.
- Remediation: Update to Pillow 9.0.0 or later.
- Vulnerability type: buffer_overflow
- Vulnerability impact: information_disclosure, denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
- Epss score: 0.02064
- Epss percentile: 0.81863
- Assignee: [email protected]
- Published at: 2022-01-10T14:12:54Z
- Age in days: 1779
- Modified at: 2026-06-17T04:29:05Z
- Patch available: yes
- References total: 5
- Products total: 2
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-22816
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-125 | Out-of-bounds Read |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://pillow.readthedocs.io/en/stable/releasenotes/9.0.0.html#fixed-imagepath-path-array-handling | Release Notes, Vendor Advisory |
| https://github.com/python-pillow/Pillow/blob/c5d9223a8b5e9295d15b5a9b1ef1dae44c8499f3/src/path.c#L331 | Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2022/01/msg00018.html | Mailing List, Third Party Advisory |
| https://security.gentoo.org/glsa/202211-10 | Third Party Advisory |
| https://www.debian.org/security/2022/dsa-5053 | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| python:pillow | < 9.0.0 | no | nvd | /v1/products/python/pillow |
| debian:debian_linux | = 11.0, = 10.0, = 9.0 | no | nvd | /v1/products/debian/debian_linux |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| python-pillow/Pillow | commit, package, pull | yes | /v1/repositories/python-pillow/Pillow |
Index
- Repositories: 2030
- Repositories high signal: 1232
- Packages: 1
Exploitation
- Remote: yes
- Exposed hosts: 4739835
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports