CVE-2020-5312

Aliases:GHSA-p49h-hjvm-jg3hBIT-pillow-2020-5312PYSEC-2020-83
Advisory lineage Upstream: 0 Downstream: 15
Modified
Published: 03 Jan 2020, 00:52
Last modified:04 Aug 2024, 08:22

Vulnerability Summary

Overall Risk (default)
high
70/100
CVSS Score
9.8 CRITICAL
v3.1 (nvd)
EPSS Score
1.75% LOW
2% probability +0.02%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

03 Jan 2020, 00:52
Published
Vulnerability first disclosed
04 Aug 2024, 08:22
Last Modified
Vulnerability information updated

Description

libImaging/PcxDecode.c in Pillow before 6.2.2 has a PCX P mode buffer overflow.

CVSS Metrics

  • v4.0CRITICALScore: 9.3CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
  • v3.1CRITICALScore: 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • v2.0HIGHScore: 7.5AV:N/AC:L/Au:N/C:P/I:P/A:P

EPSS Trends

Current EPSS score: 1.75% Percentile: 83%

Techniques & Countermeasures

  • CWE-120Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

    The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer.

Affected Systems

  • canonicalubuntu_linux

    14.04 | 16.04 | 18.04 | 19.10

  • debiandebian_linux

    9.0 | 10.0

  • fedoraprojectfedora

    30 | 31

  • PyPIpillow

    < 93b22b846e0269ee9594ff71a72bec02d2bea8fd | < 6.2.2

  • pythonpillow

    < 6.2.2

References (22)