OESA-2022-1526

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2022-1526
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2022-1526.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2022-1526
Upstream
Published
2022-02-14T11:03:31Z
Modified
2025-08-12T05:12:29.564136Z
Summary
python-pillow security update
Details

Python image processing library.

Security Fix(es):

path_getbbox in path.c in Pillow before 9.0.0 has a buffer over-read during initialization of ImagePath.Path.(CVE-2022-22816)

PIL.ImageMath.eval in Pillow before 9.0.0 allows evaluation of arbitrary expressions, such as ones that use the Python exec method.(CVE-2022-22817)

path_getbbox in path.c in Pillow before 9.0.0 improperly initializes ImagePath.Path.(CVE-2022-22815)

Database specific
{
    "severity": "Critical"
}
References

Affected packages

openEuler:20.03-LTS-SP1 / python-pillow

Package

Name
python-pillow
Purl
pkg:rpm/openEuler/python-pillow&distro=openEuler-20.03-LTS-SP1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.1.1-8.oe1

Ecosystem specific

{
    "src": [
        "python-pillow-8.1.1-8.oe1.src.rpm"
    ],
    "x86_64": [
        "python-pillow-debuginfo-8.1.1-8.oe1.x86_64.rpm",
        "python3-pillow-tk-8.1.1-8.oe1.x86_64.rpm",
        "python3-pillow-8.1.1-8.oe1.x86_64.rpm",
        "python3-pillow-qt-8.1.1-8.oe1.x86_64.rpm",
        "python-pillow-debugsource-8.1.1-8.oe1.x86_64.rpm",
        "python3-pillow-devel-8.1.1-8.oe1.x86_64.rpm"
    ],
    "aarch64": [
        "python-pillow-debugsource-8.1.1-8.oe1.aarch64.rpm",
        "python3-pillow-devel-8.1.1-8.oe1.aarch64.rpm",
        "python3-pillow-qt-8.1.1-8.oe1.aarch64.rpm",
        "python-pillow-debuginfo-8.1.1-8.oe1.aarch64.rpm",
        "python3-pillow-tk-8.1.1-8.oe1.aarch64.rpm",
        "python3-pillow-8.1.1-8.oe1.aarch64.rpm"
    ],
    "noarch": [
        "python3-pillow-help-8.1.1-8.oe1.noarch.rpm"
    ]
}

openEuler:20.03-LTS-SP2 / python-pillow

Package

Name
python-pillow
Purl
pkg:rpm/openEuler/python-pillow&distro=openEuler-20.03-LTS-SP2

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.1.1-8.oe1

Ecosystem specific

{
    "src": [
        "python-pillow-8.1.1-8.oe1.src.rpm"
    ],
    "x86_64": [
        "python3-pillow-tk-8.1.1-8.oe1.x86_64.rpm",
        "python3-pillow-devel-8.1.1-8.oe1.x86_64.rpm",
        "python3-pillow-8.1.1-8.oe1.x86_64.rpm",
        "python3-pillow-qt-8.1.1-8.oe1.x86_64.rpm",
        "python-pillow-debuginfo-8.1.1-8.oe1.x86_64.rpm",
        "python-pillow-debugsource-8.1.1-8.oe1.x86_64.rpm"
    ],
    "aarch64": [
        "python3-pillow-8.1.1-8.oe1.aarch64.rpm",
        "python-pillow-debugsource-8.1.1-8.oe1.aarch64.rpm",
        "python3-pillow-devel-8.1.1-8.oe1.aarch64.rpm",
        "python3-pillow-tk-8.1.1-8.oe1.aarch64.rpm",
        "python-pillow-debuginfo-8.1.1-8.oe1.aarch64.rpm",
        "python3-pillow-qt-8.1.1-8.oe1.aarch64.rpm"
    ],
    "noarch": [
        "python3-pillow-help-8.1.1-8.oe1.noarch.rpm"
    ]
}

openEuler:20.03-LTS-SP3 / python-pillow

Package

Name
python-pillow
Purl
pkg:rpm/openEuler/python-pillow&distro=openEuler-20.03-LTS-SP3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.1.1-8.oe1

Ecosystem specific

{
    "src": [
        "python-pillow-8.1.1-8.oe1.src.rpm"
    ],
    "x86_64": [
        "python3-pillow-8.1.1-8.oe1.x86_64.rpm",
        "python-pillow-debugsource-8.1.1-8.oe1.x86_64.rpm",
        "python3-pillow-devel-8.1.1-8.oe1.x86_64.rpm",
        "python3-pillow-tk-8.1.1-8.oe1.x86_64.rpm",
        "python-pillow-debuginfo-8.1.1-8.oe1.x86_64.rpm",
        "python3-pillow-qt-8.1.1-8.oe1.x86_64.rpm"
    ],
    "aarch64": [
        "python3-pillow-tk-8.1.1-8.oe1.aarch64.rpm",
        "python3-pillow-8.1.1-8.oe1.aarch64.rpm",
        "python-pillow-debuginfo-8.1.1-8.oe1.aarch64.rpm",
        "python3-pillow-qt-8.1.1-8.oe1.aarch64.rpm",
        "python-pillow-debugsource-8.1.1-8.oe1.aarch64.rpm",
        "python3-pillow-devel-8.1.1-8.oe1.aarch64.rpm"
    ],
    "noarch": [
        "python3-pillow-help-8.1.1-8.oe1.noarch.rpm"
    ]
}