Advisory

GHSA-v9pc-9mvp-x87g

Also known as: CVE-2016-3076, PYSEC-2017-92

Summary

Pillow Buffer overflow in Jpeg2KEncode.c

Details

Heap-based buffer overflow in the j2k_encode_entry function in Pillow 2.5.0 through 3.1.1 allows remote attackers to cause a denial of service (memory corruption) via a crafted Jpeg2000 file.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-17 02:47 UTC
Modified
2024-10-09 21:25 UTC

Affected packages and fixes

pillow

PyPI · All systems

Affected

  • introduced 2.5.0, fixed 3.1.2 (ecosystem)

Fixed versions

3.1.2

Fix

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

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