Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 830934 (CVE-2022-22815, CVE-2022-22816)

Summary: <dev-python/pillow-9.0.0: multiple vulnerabilities (CVE-2022-{22815,22816,22817})
Product: Gentoo Security Reporter: filip ambroz <filip.ambroz>
Component: VulnerabilitiesAssignee: Gentoo Security <security>
Status: IN_PROGRESS ---    
Severity: minor CC: python
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: B3 [glsa?]
Package list:
Runtime testing required: ---
Bug Depends on: 830941    
Bug Blocks: 832599    

Description filip ambroz 2022-01-10 16:46:55 UTC
path_getbbox in path.c in Pillow before 9.0.0 improperly initializes ImagePath.Path.


path_getbbox in path.c in Pillow before 9.0.0 has a buffer over-read during initialization of ImagePath.Path.


PIL.ImageMath.eval in Pillow before 9.0.0 allows evaluation of arbitrary expressions, such as ones that use the Python exec method.


Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2022-01-16 20:30:42 UTC
The bug has been referenced in the following commit(s):

commit 7c1bb06397f328afec57551a3365ad36d91ded2d
Author:     Arthur Zamarin <>
AuthorDate: 2022-01-16 20:30:19 +0000
Commit:     Arthur Zamarin <>
CommitDate: 2022-01-16 20:30:19 +0000

    dev-python/pillow: drop 8.4.0
    Signed-off-by: Arthur Zamarin <>

 dev-python/pillow/Manifest            |  1 -
 dev-python/pillow/pillow-8.4.0.ebuild | 98 -----------------------------------
 2 files changed, 99 deletions(-)
Comment 2 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-01-16 22:33:05 UTC