cvelo
P3 · MediumCVSS 6.3EPSS 0.5%

Pillow: EPS load(scale) lets Ghostscript render past the decompression bomb limit

  • CVE-2026-112899
  • GHSA-vx6w-vv9f-6gvg
  • BIT-pillow-2026-112899
  • EUVD-2026-117791

Description

Pillow is a Python imaging library. In versions 2.3.0 through 12.3.0, EPS rendering does not validate the scaled image dimensions before invoking Ghostscript. Applications that process untrusted EPS or PostScript files using an application-selected scale greater than one can incur excessive Ghostscript CPU and temporary disk consumption. In versions with decompression-bomb protection, the scaled output is checked only after Ghostscript has completed rendering, allowing resource consumption beyond the configured pixel limit. The amplification depends on the scale selected by the application, not an attacker-controlled scale value. This issue is fixed in version 13.0.0.

Text from the CVE.org record.

Recommendation

  • python pillow

    • If you run a version from 2.3.0 to before 13.0.0update to 13.0.0 or laterMajor version change: expect breaking changes
  • pillow

Taken from the version ranges the sources state. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • python pillow

    Affected versionsFixed in
    from 2.3.0 to before 13.0.013.0.0
  • pillowPyPI

    Affected versionsFixed in
    from 2.3.0 to before 13.0.013.0.0

Product versions from the NVD record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.