Skip to content

Pillow Buffer overflow in Jpeg2KEncode.c

Moderate severity GitHub Reviewed Published May 17, 2022 to the GitHub Advisory Database • Updated Apr 22, 2024

Package

pip pillow (pip)

Affected versions

>= 2.5.0, < 3.1.2

Patched versions

3.1.2

Description

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.

References

Published by the National Vulnerability Database Apr 24, 2017
Published to the GitHub Advisory Database May 17, 2022
Last updated Apr 22, 2024
Reviewed Apr 22, 2024

Severity

Moderate
5.5
/ 10

CVSS base metrics

Attack vector
Local
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Weaknesses

CVE ID

CVE-2016-3076

GHSA ID

GHSA-v9pc-9mvp-x87g

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.