CVE Professor
›
Back
CVE-2026-128067

CVE-2026-128067 — Pillow — CWE-787

HIGH CVSS 5 GitHub

CVE-2026-128067 is a HIGH severity Memory Corruption / Buffer Overflow vulnerability (CWE-787) (CVSS 5.0/10) affecting Pillow. Technical vector analysis shows that an attacker can exploit this flaw remotely over the network without authentication (PR:N) with zero user interaction (UI:N), posing a direct security risk to affected deployments.

📄 Official NVD / MITRE Original Record Text

``` ============================================================================ ANT-2026-CS7N494P [high] CWE-787 memory-safety Heap buffer overflow saving TIFF with libtiff when tags override image size Location: src/libImaging/TiffDecode.c:1035 in ImagingLibTiffEncode() Commit: a707c6b21c313880d0771e54965d142dd42358b6 ============================================================================ ``` When Pillow saves an image as a compressed TIFF, size information taken from the image's metadata can make the encoder read past the end of a heap buffer. Someone who uploads an image can use this to get the server process's memory, including pointers, copied into the saved file, or to crash the process. When the metadata also enables TIFF "Predictor=2" compression, the encoder writes past the buffer instead, corrupting the heap and aborting the process. This affects applications that write TIFF through libtiff (any `compression=` other than raw) and either carry the source metadata

Published 12.11.2026
ISO Date 2026-11-12
Source GitHub
AI Security Analysis & Remediation
🤖 Generating Deep AI Security Analysis…
Analyzing CVSS vector & CWE weakness structure…

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-128067
CVSS 5/10 · HIGH · 12.11.2026
CWE: CWE-787
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎯 WHAT IS THIS VULNERABILITY?
Buffer Overflow / Memory Corruption
Summary: ```
============================================================================
ANT-2026-CS7N494P [high] CWE-787 memory-safety
Heap buffer overflow saving TIFF with libtiff when tags override image size
Location: src/libImaging/TiffDecode.c:1035 in ImagingLibTiffEncode()
Commit: a707c6b21c313880d0771e54965d142dd42358b6
=====================================================================…
Affected: Pillow

⚡ ATTACK CHAIN
1. Fuzz with Boofuzz/AFL++ to find crash.
2. Find offset: pattern_create→crash→pattern_offset EIP
3. Control EIP/RIP, bypass NX with ROP chains.
4. ASLR bypass via info leak or brute force.
5. Metasploit: search CVE-XXXX; use exploit/...; run

🔧 Tools: GDB+PEDA/pwndbg, ROPgadget, pwntools, Metasploit, AFL++
🗺️ MITRE ATT&CK: T1203 (Exploitation for Client Execution), T1068

🌍 REAL WORLD IMPACT

🛡️ REMEDIATION
→ Apply vendor security update for Pillow.
→ Verify ASLR/NX/Stack Canary are active.
→ Add WAF rule, create IDS alert for anomalous traffic.

⚠️ URGENCY
⚠️ Planned maintenance (2 weeks).

────────────────────────────────────────
[Kural Tabanlı Otomatik Güvenlik Analizi]

Target Reconnaissance Queries (FOFA & Shodan)
CVSS Score
5 / 10 · CVSS HIGH
Weakness Types (CWE)
CWE-787
Affected Products (1)
Pillow
References & Advisories (4)
Related CVEs
9.8
CVE-2026-110486
In Eclipse Mosquitto versions 2.1 through 2.1.2, a listener configured with `protocol websockets` mishandles e
9.8
CVE-2026-116446
Dell PowerStore SDNAS contains an out-of-bounds memory vulnerability in the NAS NFS service that an unauthenti
9.6
CVE-2026-116441
Dell PowerStore SDNAS contains an out-of-bounds write vulnerability in the storage-processor interconnect driv
8.8
CVE-2026-131875
fqterm before 0.9.11 contains a heap out-of-bounds write vulnerability in FQTermDecode that allows malicious s
8.3
CVE-2026-131848
Snap7 through 1.4.3 contains an out-of-bounds write vulnerability in TSnap7MicroClient::opReadMultiVars() that
8.1
CVE-2026-123007
This issue affects NGINX Plus or NGINX Open Source configurations that use HTTP/2. When NGINX processes undisc