Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 830934 (CVE-2022-22815, CVE-2022-22816) - <dev-python/pillow-9.0.0: multiple vulnerabilities (CVE-2022-{22815,22816,22817})
Summary: <dev-python/pillow-9.0.0: multiple vulnerabilities (CVE-2022-{22815,22816,228...
Alias: CVE-2022-22815, CVE-2022-22816
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
Whiteboard: B3 [glsa?]
Depends on: 830941
Blocks: CVE-2022-22817
  Show dependency tree
Reported: 2022-01-10 16:46 UTC by filip ambroz
Modified: 2022-02-03 04:09 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
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