CVE-2026-59198: Pillow TGA RLE encoder can serialize up to ~57 KB of adjacent heap data into generated images
Noroxi assessment
Priority: Monitor (action score 30/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.31% (FIRST EPSS).
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: python-pillow Pillow 12.3.0.
Low priority for now. Upgrade to python-pillow Pillow 12.3.0 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
Pillow is a Python imaging library. From 5.2.0 until 12.3.0, Pillow's TGA RLE encoder reads past its packed row buffer when saving a mode 1 image with TGA RLE compression, allowing adjacent process heap bytes to be copied into the generated TGA file. This issue is fixed in version 12.3.0.
- Published
- Jul 14, 2026
- Updated
- Oct 24, 2026
- EPSS
- 0.3% · 24th percentile
- CWE
- CWE-125
Report tools
Action score
30
Low priority for now.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.3%
CISA SSVC decision
- Exploitation
- proof of concept
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 7.5
- CNA · GitHub_M
- 6.5
- 1.0 point gap
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:L
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| python | pillow | cpe:2.3:a:python:pillow |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- python pillow5.2.0 and later · before 12.3.0
Versions reported by the vendor
Affected version ranges reported by the assigning authority (GitHub_M). Independent of NVD's CPE analysis and usually ahead of it.
python-pillow Pillow
- >= 5.2.0, < 12.3.0affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | pillow | from 0 | — |
| Debian:14 | pillow | before 12.3.0-1 | 12.3.0-1 |
| openSUSE:Leap 16.0 | python-Pillow | before 11.3.0-160000.8.1 | 11.3.0-160000.8.1 |
| openSUSE:Tumbleweed | python-Pillow | before 12.3.0-2.1 | 12.3.0-2.1 |
| PyPI | pillow | from 5.2.0 · before 12.3.0 | 12.3.0 |
| SUSE:Linux Enterprise Module for Package Hub 15 SP7 | python-Pillow | before 7.2.0-150300.3.30.1 | 7.2.0-150300.3.30.1 |
| SUSE:Linux Enterprise Module for Python 3 15 SP7 | python-Pillow | before 9.5.0-150400.5.25.1 | 9.5.0-150400.5.25.1 |
| SUSE:Linux Enterprise Server 16.0 | python-Pillow | before 11.3.0-160000.8.1 | 11.3.0-160000.8.1 |
Same product
python: all recordsOther highest-scoring records for the same primary product.
- CVE-2014-3007Python Image Library (PIL) 1.1.7 and earlier and Pillow 2.3 might allow remote attackers to execute arbitrary commands via shell…43Plan
- CVE-2016-4009Integer overflow in the ImagingResampleHorizontal function in libImaging/Resample.c in Pillow before 3.1.1 allows remote attackers to have…41Plan
- CVE-2022-30595libImaging/TgaRleDecode.c in Pillow 9.1.0 has a heap buffer overflow in the processing of invalid TGA image files.40Plan
Published before and after this one in the same product
- ← EarlierCVE-2026-55380Jul 6, 2026 · Pillow GdImageFile decompression bomb protection bypass30Monitor
- ← EarlierCVE-2026-55798Jul 6, 2026 · Pillow: WindowsViewer.get_command() OS command injection via unescaped shell path18Monitor
- Later →CVE-2026-59199Jul 14, 2026 · Pillow: Heap out-of-bounds write `Image.paste()` / `Image.crop()` via signed coordinate overflow30Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| python-pillow Pillow | 12.3.0 · description | Vendor (CNA) |
| debian:pillow | 12.3.0-1 · Debian:14 | Package registry (OSV) |
| opensuse:python-Pillow | 12.3.0-2.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| PyPI:pillow | 12.3.0 | Package registry (OSV) |
| suse:python-Pillow | 11.3.0-160000.8.1 · SUSE:Linux Enterprise Server 16.0 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
- CVE-2026-9663999 days apartPillow multi-frame loaders can reuse stale native image storage after mode transitions39Monitor
- CVE-2026-11289697 days apartPillow: TIFF encoder ColorMap plane-size mismatch causes a heap out-of-bounds read35Monitor
- CVE-2026-540580 days apartPillow: Out-of-bounds read via attacker-controlled row stride on Pillow's mmap path (McIdas AREA files)33Monitor
- CVE-2026-9664499 days apartPillow: Heap over-read in WMF/EMF rendering via 16-bit dimension truncation (Windows builds)28Monitor
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- none
- Availability
- none
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- None
- Availability impact
- None
Weakness class (CWE)
CWE-125 · Out-of-bounds ReadCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (2 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.