OESA-2026-3140

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2026-3140
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2026-3140.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2026-3140
Upstream
Published
2026-07-24T03:27:29Z
Modified
2026-07-24T03:45:16.645853608Z
Summary
python-pillow security update
Details

Pillow is the friendly PIL fork by Alex Clark and Contributors. PIL is the Python Imaging \ Library by Fredrik Lundh and Contributors. As of 2019, Pillow development is supported by Tidelift. of CVE-2022-22815,CVE-2022-22816)

Security Fix(es):

Pillow is a Python imaging library. Prior to 12.3.0, PIL/PcfFontFile.py loadbitmaps() read glyph dimensions from the PCF METRICS section and passed them directly to Image.frombytes() without calling Image.decompressionbomb_check(), allowing crafted PCF font data to cause excessive memory allocation. This issue is fixed in version 12.3.0.(CVE-2026-54059)

Pillow is a Python imaging library. Prior to 12.3.0, PIL/FontFile.py FontFile.compile() assembled per-glyph images into a combined bitmap with Image.new("1", (xsize, ysize)) without calling Image.decompressionbomb_check(), allowing a font to trigger excessive allocation during conversion or saving. This issue is fixed in version 12.3.0.(CVE-2026-54060)

Pillow is a Python imaging library. Prior to 12.3.0, PIL/BdfFontFile.py bdfchar() read the BBX width and height field from a BDF font file and passed attacker-controlled dimensions to Image.new() without calling Image.decompressionbombcheck(), bypassing Pillow's documented decompression bomb protection and allowing excessive memory allocation. This issue is fixed in version 12.3.0.(CVE-2026-55379)

Pillow is a Python imaging library. Prior to 12.3.0, PIL/GdImageFile.py GdImageFile._open() read image dimensions from the GD 2.x header and stored them in self.size without calling Image.decompressionbombcheck(), allowing a crafted .gd file to trigger excessive C-heap allocation when loaded. This issue is fixed in version 12.3.0.(CVE-2026-55380)

Pillow is a Python imaging library. From 5.1.0 until 12.3.0, PdfParser.PdfStream.decode() in PIL/PdfParser.py calls zlib.decompress() with bufsize set to the PDF stream Length field without bounding the decompressed output size, allowing a crafted FlateDecode PDF stream to exhaust memory from a small file. This issue is fixed in version 12.3.0.(CVE-2026-59200)

Pillow is a Python imaging library. From 8.2.0 through 12.2.0, src/libImaging/Jpeg2KDecode.c accumulates totalcomponentwidth across every tile in a JPEG2000 image instead of recomputing it per tile, allowing a crafted tiled JPEG2000 file to force substantially higher transient memory usage and trigger out-of-memory failures during decoding. This issue is fixed in version 12.3.0.(CVE-2026-59204)

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

Affected packages

openEuler:24.03-LTS-SP3 / python-pillow

Package

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

Affected ranges

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

Ecosystem specific

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

Database specific

source
"https://repo.openeuler.org/security/data/osv/OESA-2026-3140.json"