CVE Database›Document archive›CVE-2022-22816

CVE-2022-22816

python-pillow: buffer over-read during initialization of ImagePath.Path in path_getbbox() in path.c

Loading…

Severity

Low

Red Hat Product Security

6.5

CVSS 3.1

Review impact separately from score.

Published · January 2, 2022

Updated · June 28, 2026

Description

A flaw was found in python-pillow. The vulnerability occurs due to improper initialization of image paths, leading to a buffer over-read and improper initialization. This flaw allows an attacker to unauthorized memory access that causes memory access errors, incorrect results, or crashes.

Statement

Red Hat Quay ships a vulnerable version of Pillow as a dependency of xhtml2pdf. The xhtml2pdf package is used in the invoice generation feature of Quay, however, the vulnerable ImagePath module is not used by xhtml2pdf. Therefore impact for Quay is rated Low.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 6.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L

CWE-125 · Out-of-bounds Read