CVE-2026-112393: Pillow: Heap buffer overflow in _tiffWriteProc when saving TIFF to BytesIO
Noroxi assessment
Priority: Monitor (action score 36/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: 1% (FIRST EPSS); higher than 63.6% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. Special conditions such as timing or configuration are required.
- Fixed version: python-pillow Pillow 13.0.0.
Low priority for now. Upgrade to python-pillow Pillow 13.0.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 2.0.0 until 13.0.0, Pillow has a heap buffer overflow and stale-heap disclosure in _tiffWriteProc when saving compressed TIFF data through libtiff to a target without a usable fileno(), such as BytesIO. The callback sizes its allocation from the prior buffer size instead of the current write position, allowing an attacker-controlled out-of-line TIFF tag or retained ICC profile to be copied beyond the allocation after libtiff seeks forward. This overflow can crash the process and may allow code execution. Independently, unwritten alignment gaps in compressed TIFF output larger than 64 KiB can disclose stale heap bytes without a crafted tag. File paths and targets with real file descriptors are unaffected. This issue is fixed in version 13.0.0.
- Published
- Oct 19, 2026
- Updated
- Oct 26, 2026
- EPSS
- 1.0% · 63th percentile
- CWE
- CWE-122
Report tools
Action score
36
Monitor
Low priority for now.
- CVSS
- 36 / 40 · 9.2 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 1.0%
CISA SSVC decision
- Exploitation
- proof of concept
- Automatable
- no
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- —
- CNA · GitHub_M
- 9.2
- NVD has not scored this yet; the score shown is the CNA’s.
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
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 pillow2.0.0 and later · before 13.0.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
- >= 2.0.0, < 13.0.0affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | python3-pillow | before 5.1.1-36.el8_10 | 5.1.1-36.el8_10 |
| AlmaLinux:8 | python3-pillow-devel | before 5.1.1-36.el8_10 | 5.1.1-36.el8_10 |
| AlmaLinux:8 | python3-pillow-doc | before 5.1.1-36.el8_10 | 5.1.1-36.el8_10 |
| AlmaLinux:8 | python3-pillow-tk | before 5.1.1-36.el8_10 | 5.1.1-36.el8_10 |
| Debian:12 | pillow | from 0 | — |
| PyPI | pillow | from 2.0.0 · before 13.0.0 | 13.0.0 |
| Rocky Linux:8 | python-pillow | before 0:5.1.1-36.el8_10 | 0:5.1.1-36.el8_10 |
| SUSE:Linux Enterprise Module for Package Hub 15 SP7 | python-Pillow | before 7.2.0-150300.3.33.1 | 7.2.0-150300.3.33.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-112390Oct 19, 2026 · Pillow: Infinite loop in MIC n_frames when the embedded TIFF32Monitor
- ← EarlierCVE-2026-112391Oct 19, 2026 · Pillow: PdfParser can recurse without limit in get_value() and linearize_page_tree()25Monitor
- Later →CVE-2026-112394Oct 19, 2026 · Pillow: P;2L and P;4L decoders may read 1 to 3 bytes past the passed buffer size25Monitor
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 | 13.0.0 · description | Vendor (CNA) |
| almalinux:python3-pillow | 5.1.1-36.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python3-pillow-devel | 5.1.1-36.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python3-pillow-doc | 5.1.1-36.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python3-pillow-tk | 5.1.1-36.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| PyPI:pillow | 13.0.0 | Package registry (OSV) |
| rocky linux:python-pillow | 0:5.1.1-36.el8_10 · Rocky Linux:8 | Package registry (OSV) |
| suse:python-Pillow | 7.2.0-150300.3.33.1 · SUSE:Linux Enterprise Module for Package Hub 15 SP7 | 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.
- Published
- Fix recordedsame day
- TodayNov 11, 2026+22 d
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-1123980 days apartPillow: Heap buffer overflow in FlashPix (FPX) JPEG decoding leads to code execution36Monitor
- CVE-2026-1124030 days apartPillow: Heap buffer overflow in ImagingJpegDecode36Monitor
- CVE-2026-1123950 days apartPillow tiled-TIFF decoder reads past tile buffer in copy4 (Unpack.c:1290)32Monitor
- CVE-2025-48379475 days apartPillow Vulnerable to Write Buffer Overflow on BCn encoding22Monitor
- CVE-2026-42309163 days apartPillow: Heap buffer overflow with nested list coordinates20Monitor
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.
- Special conditions such as timing or configuration are required.
If successful
- Confidentiality
- Integrity
- Availability
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- X
Weakness class (CWE)
CWE-122 · Heap-based Buffer OverflowCVSS vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
nvd-secondary
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
- SSVC exploitation— → poc
- Exploit maturity— → none
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (1 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.