CVE-2026-128067Pillow: Heap buffer overflow saving TIFF with libtiff when tags override image size
A high-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 0.5% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 0.5%
- percentile 38%
- Fix
- Named by a source
- CVE published 13 Nov 2026
Reference
None of the "Needs attention" rules apply right now.
EPSS 0.5% (+1) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)
Immediate actions
- pillow (PyPI): upgrade to 13.0.0 or later on your release line.
- Commit / pull request: https://github.com/python-pillow/Pillow/commit/53318b50e8e9e85a57d033d4d879e1398d97aeb1
- Commit / pull request: https://github.com/python-pillow/Pillow/commit/ec5f1cbcf67275641abaad5c065ffb64a0a804a9
Who should check
pillow (PyPI) pkg:pypi/pillow
- Affected< 13.0.0Fixed in13.0.0OSV (GHSA-xcvg-w56q-r89m)
python-pillow Pillow product:pythonpillow/pillow
- Affected>= 2.3.0, < 13.0.0Affected range ends before13.0.0as published by CNA (CVE List)
Products (not packages) are shown as their sources publish them. We check no product version against these ranges; a fixed version is the one the source names. Ask the vendor's advisory.
Confirmed facts
- CVSS
- 8.4 HIGH (version 4.0)
- Score from
- CNA ([email protected])
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Weakness
- CWE-787
- Exploitation (CISA SSVC)
- none
- Automatable (CISA SSVC)
- no
- Assigned by
- [email protected]
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
- NVD status: Awaiting Analysis. NVD has not analysed it yet.
Advisory text
Quoted from the source advisory (untrusted)Pillow is a Python imaging library. From 2.3.0 through 12.3.0, Pillow applications that save compressed TIFF images through libtiff can pass attacker-controlled image geometry tags to the encoder while allocating its row buffer from the actual image dimensions. The affected TiffImagePlugin._save path allows ImageWidth, ImageLength, or SamplesPerPixel from exif=, tiffinfo=, or a source TIFF IFD to make libtiff consume a larger scanline than the buffer supplied by ImagingLibTiffEncode. This can read heap memory into the generated TIFF or crash the process. When TIFF Predictor 2 is enabled, libtiff can rewrite the oversized scanline in place and corrupt memory beyond the buffer. A carried-over PlanarConfiguration value of 2 instead makes libtiff use a shorter scanline and can produce an undecodable output file, but is not established to cause the out-of-bounds access. This issue is fixed in version 13.0.0.
Update history
- 13 Nov 2026Published
References
- commit / pull requesthttps://github.com/python-pillow/Pillow/commit/53318b50e8e9e85a57d033d4d879e1398d97aeb1
- commit / pull requesthttps://github.com/python-pillow/Pillow/commit/ec5f1cbcf67275641abaad5c065ffb64a0a804a9
- otherhttps://github.com/python-pillow/Pillow/releases/tag/13.0.0
- otherhttps://github.com/python-pillow/Pillow/security/advisories/GHSA-xcvg-w56q-r89m
- otherhttps://github.com/python-pillow/Pillow
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- CVE-2026-128067 (CVE List (CNA and CISA ADP data, through the NVD API)), CVE terms of use. Copyright The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation.
- NVD API 2.0 (NIST), the API we query, NVD API terms of use. This product uses the NVD API but is not endorsed or certified by the NVD.
- GHSA-xcvg-w56q-r89m (GitHub Advisory Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 34 min ago · osv 34 min ago · nvd 3 min ago · epss 33 min ago · JSON · ask via MCP: explain_vulnerability
Also known as BIT-pillow-2026-128067, GHSA-xcvg-w56q-r89m