Advisory

GHSA-3xv8-3j54-hgrp

Also known as: BIT-pillow-2020-10378, CVE-2020-10378, PYSEC-2020-77

Summary

Out-of-bounds read in Pillow

Details

In libImaging/PcxDecode.c in Pillow before 7.1.0, an out-of-bounds read can occur when reading PCX files where state->shuffle is instructed to read beyond state->buffer.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-11-03 18:04 UTC
Modified
2025-06-06 15:13 UTC

Affected packages and fixes

pillow

PyPI · All systems

Affected

  • introduced 0, fixed 7.1.0 (ecosystem)

Fixed versions

7.1.0

Fix

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

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