Feed
8.4HIGH

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%
Priority
25/100 medium
how it is computed
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

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

Sources

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