CVE-2026-112398Pillow Heap Buffer Overflow
Prior to 13.0.0, Pillow's FlashPix JPEG-tile decoder can write decoded scanlines beyond the allocated tile buffer.
Published Oct 19, 2026 · Updated Oct 26, 2026 · Also known as BIT-pillow-2026-112398, EUVD-2026-104634, GHSA-5x8w-8jj5-q52h, ROOT-APP-PYPI-CVE-2026-112398
Key Facts
Patch immediately- CVE-2026-112398 is a critical-severity vulnerability (CVSS 9.2 v4) affecting Pillow (bitnami), python-Pillow (opensuse).
- It is not listed in any known-exploited vulnerabilities catalog. A public exploit is reported by tracking sources, but no code link is listed yet.
- EPSS estimates a 0.6% probability of exploitation in the next 30 days.
- Fixed versions are available, including Pillow 10.2.0+aikido.1, Pillow 10.4.0+aikido.15, Pillow 11.1.0+aikido.15.
- Brandefense priority: patch immediately, because public exploit code exists for a high-severity flaw.
Scores
CVSS v4
9.2
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS (30-day exploit likelihood)
0.6%
Higher than 46.9% of all scored CVEs
Exploit maturity
Proof of concept
ATLAS score
41/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Proof of concept
Public exploit code
1
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
Description
Pillow is a Python imaging library. Prior to 13.0.0, Pillow's FlashPix JPEG-tile decoder can write decoded scanlines beyond the allocated tile buffer. FlashPix (FPX) JPEG decoding selects raw mode LA with two bytes per pixel, while an unrecognized JPEG mode can be decoded as JCS_UNKNOWN with four components, causing ImagingJpegDecode to write four-component scanlines into the two-byte tile buffer.
An attacker can supply a crafted OLE2 FlashPix file to an application with the optional olefile dependency installed that opens or thumbnails untrusted input. This can corrupt heap memory and may allow arbitrary code execution. This issue is fixed in version 13.0.0.
Affected Products
10 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| Pillowbitnami | < 13.0.0 | 13.0.0 |
| python-Pillowopensuse | See advisory | 13.0.0-1.1 |
Patched Releases
Pillow
10.2.0+aikido.1, 10.4.0+aikido.15, 11.1.0+aikido.15, 11.2.1+aikido.9, 11.3.0+aikido.10, 12.1.0+aikido.15, 12.1.1+aikido.1, 12.2.0+aikido.8, 12.3.0+aikido.2, 13.0.0, 13.0.0-1
python-Pillow
13.0.0-1.1
Timeline
Publicly disclosed
Oct 19, 2026
Last updated
Oct 26, 2026
Weakness Type
- CWE-122 Heap-based Buffer Overflow
- CWE-787 Out-of-bounds Write
References
- advisorycve.org · CVERecord
- advisorynvd.nist.gov · CVE-2026-112398
- advisoryGHSA advisory
- articlesuse.com · CVE-2026-112398
- articlesuse.com · CVE-2026-112390
FAQ
Common Questions.
Pillow is a Python imaging library.
Affected: Pillow (bitnami) versions < 13.0.0; python-Pillow (opensuse). The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
A public exploit is reported by tracking sources, but no code link is listed yet.
Fixed versions are available, including Pillow 10.2.0+aikido.1, Pillow 10.4.0+aikido.15, Pillow 11.1.0+aikido.15.
Brandefense priority: patch immediately, because public exploit code exists for a high-severity flaw.
Is CVE-2026-112398 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo