Advisory

GHSA-hvr8-466p-75rh

Also known as: CVE-2016-4009, PYSEC-2016-7

Summary

Pillow Integer overflow in ImagingResampleHorizontal

Details

Integer overflow in the ImagingResampleHorizontal function in libImaging/Resample.c in Pillow before 3.1.1 allows remote attackers to have unspecified impact via negative values of the new size, which triggers a heap-based buffer overflow.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2018-07-24 20:15 UTC
Modified
2024-10-08 13:22 UTC

Affected packages and fixes

pillow

PyPI · All systems

Affected

  • introduced 0, fixed 3.1.1 (ecosystem)

Fixed versions

3.1.1

Fix

  • Fixed version 3.1.1
    pip install --upgrade pillow==3.1.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences