CVE-2026-59199: Pillow - Buffer Overflow
- Cve: CVE-2026-59199
- Name: Pillow - Buffer Overflow
- Description: Pillow is a Python imaging library. Prior to 12.3.0, Pillow public image coordinate APIs can trigger a native heap out-of-bounds write when given coordinates near the signed 32-bit integer limits in Image.paste(), Image.crop(), or Image.alpha_composite(). This issue is fixed in version 12.3.0.
- Impact: Attackers can cause memory corruption leading to potential denial of service or code execution.
- Remediation: Update to version 12.3.0 or later.
- Vulnerability type: buffer_overflow
- Vulnerability impact: denial_of_service, remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.00385
- Epss percentile: 0.33345
- Assignee: [email protected]
- Published at: 2026-07-14T16:17:01Z
- Age in days: 133
- Modified at: 2026-10-24T21:10:00Z
- Patch available: yes
- Public exploits total: 2
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-59199
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-190 | Integer Overflow or Wraparound |
| CWE-787 | Out-of-bounds Write |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/python-pillow/Pillow/pull/9703 | nvd | 2026-07-14 |
| https://github.com/python-pillow/Pillow/security/advisories/GHSA-6r8x-57c9-28j4 | nvd | 2026-07-14 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/python-pillow/Pillow/commit/ceefc348eb3c3844c7f9796ef2cc3a7dd5fbba7b | Patch |
| https://github.com/python-pillow/Pillow/pull/9703 | Exploit, Issue Tracking, Patch |
| https://github.com/python-pillow/Pillow/security/advisories/GHSA-6r8x-57c9-28j4 | Exploit, Vendor Advisory |
| https://github.com/python-pillow/Pillow/releases/tag/12.3.0 | Release Notes |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| python:pillow | < 12.3.0 | no | nvd | /v1/products/python/pillow |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| python-pillow/Pillow | commit, fix, package, pull, releases, security_advisory | yes | /v1/repositories/python-pillow/Pillow |
Index
- Repositories: 3182
- Repositories high signal: 1882
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 2
- Public exploit first date: 2026-07-14
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts