
CVE catalog
CVE-2026-54058
Pillow is a Python imaging library. Prior to 12.3.0, when Pillow loads an uncompressed McIdas AREA image from a filename through the mmap raw codec path, attacker-controlled header words can set a row
- Severity
- Critical · CVSS 9.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.52% · Oct 25, 2026
Pillow is a Python imaging library. Prior to 12.3.0, when Pillow loads an uncompressed McIdas AREA image from a filename through the mmap raw codec path, attacker-controlled header words can set a row stride smaller than the natural row width, causing pixel access such as Image.tobytes(), getpixel, convert, or save to read beyond the mapped region and disclose adjacent process memory or fault. This issue is fixed in version 12.3.0.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | pillow | sid | 13.0.0-1 | fixed |
| Debian | pillow | forky | 12.3.0-1 | fixed |
| Debian | pillow | trixie | 11.1.0-5+deb13u4 | vulnerable |
| Debian | pillow | trixie-security | 11.1.0-5+deb13u3 | vulnerable |
| Debian | pillow | bookworm | 9.4.0-1.1+deb12u1 | vulnerable |
| Debian | pillow | bookworm-security | 9.4.0-1.1+deb12u1 | vulnerable |
| Cpe | pillow | Not reported | Not reported | vulnerable |
| Pip | pillow | Not reported | 12.3.0 | fixed |
| PyPI | pillow | Not reported | 12.3.0 | fixed |
| Opensuse | python-graphifyy | tumbleweed | 0.9.65-1.1 | fixed |
| Ubuntu | pillow | pro | 6.1.0-1 | vulnerable |
| Ubuntu | pillow | pro | 6.1.0-1build1 | vulnerable |
| Ubuntu | pillow | pro | 6.2.1-2 | vulnerable |
| Ubuntu | pillow | pro | 7.0.0-4 | vulnerable |
| Ubuntu | pillow | pro | 7.0.0-4build1 | vulnerable |
| Ubuntu | pillow | pro | 7.0.0-4ubuntu0.1 | vulnerable |
| Ubuntu | pillow | pro | 7.0.0-4ubuntu0.2 | vulnerable |
| Ubuntu | pillow | pro | 7.0.0-4ubuntu0.3 | vulnerable |
| Ubuntu | pillow | pro | 7.0.0-4ubuntu0.4 | vulnerable |
| Ubuntu | pillow | pro | 7.0.0-4ubuntu0.5 | vulnerable |
| Ubuntu | pillow | pro | 7.0.0-4ubuntu0.6 | vulnerable |
| Ubuntu | pillow | pro | 7.0.0-4ubuntu0.7 | vulnerable |
| Ubuntu | pillow | pro | 7.0.0-4ubuntu0.8 | vulnerable |
| Ubuntu | pillow | pro | 7.0.0-4ubuntu0.9 | vulnerable |
| Ubuntu | pillow | pro | 7.0.0-4ubuntu0.9+esm1 | vulnerable |
| Ubuntu | pillow-python2 | pro | 6.2.1-3~build1 | vulnerable |
| Ubuntu | pillow-python2 | pro | 6.2.1-3 | vulnerable |
| Ubuntu | pillow-python2 | pro | 6.2.1-3ubuntu0.1~esm1 | vulnerable |
| Ubuntu | pillow-python2 | pro | 6.2.1-3ubuntu0.1~esm2 | vulnerable |
| Ubuntu | pillow | 22.04 | 8.1.2+dfsg-0.3 | vulnerable |
| Ubuntu | pillow | 22.04 | 9.0.0-1 | vulnerable |
| Ubuntu | pillow | 22.04 | 9.0.1-1 | vulnerable |
| Ubuntu | pillow | 22.04 | 9.0.1-1build1 | vulnerable |
| Ubuntu | pillow | 22.04 | 9.0.1-1ubuntu0.1 | vulnerable |
| Ubuntu | pillow | 22.04 | 9.0.1-1ubuntu0.2 | vulnerable |
| Ubuntu | pillow | 22.04 | 9.0.1-1ubuntu0.3 | vulnerable |
| Ubuntu | pillow | 22.04 | 9.0.1-1ubuntu0.4 | vulnerable |
| Ubuntu | pillow | 22.04 | 9.0.1-1ubuntu0.5 | vulnerable |
| Ubuntu | pillow | 24.04 | 10.0.0-1 | vulnerable |
| Ubuntu | pillow | 24.04 | 10.1.0-1 | vulnerable |
| Ubuntu | pillow | 24.04 | 10.2.0-1 | vulnerable |
| Ubuntu | pillow | 24.04 | 10.2.0-1build1 | vulnerable |
| Ubuntu | pillow | 24.04 | 10.2.0-1ubuntu1 | vulnerable |
| Ubuntu | pillow | 24.04 | 10.2.0-1ubuntu1.2 | vulnerable |
| Ubuntu | pillow | 24.04 | 10.2.0-1ubuntu1.3 | vulnerable |
| Ubuntu | pillow | 26.04 | 11.3.0-1ubuntu1 | vulnerable |
| Ubuntu | pillow | 26.04 | 11.3.0-1ubuntu2 | vulnerable |
| Ubuntu | pillow | 26.04 | 12.0.0-1ubuntu1 | vulnerable |
| Ubuntu | pillow | 26.04 | 12.1.1-1ubuntu1 | vulnerable |
| Ubuntu | pillow | 26.04 | 12.1.1-2ubuntu1 | vulnerable |
| Ubuntu | pillow | 26.04 | 12.1.1-2ubuntu1.1 | vulnerable |
| Ubuntu | pillow | 26.04 | 12.1.1-2ubuntu1.2 | vulnerable |
| Ubuntu | pillow | 26.04 | 12.1.1-2ubuntu1.3 | vulnerable |
| Suse | python-Pillow | linux enterprise server 16.0 | 11.3.0-160000.8.1 | fixed |
| Suse | python-Pillow | linux enterprise server for sap applications 16.0 | 11.3.0-160000.8.1 | fixed |
| Suse | python-Pillow | linux enterprise server 16.0 | 11.3.0-160000.8.1 | fixed |
| Suse | python-Pillow | linux enterprise server for sap applications 16.0 | 11.3.0-160000.8.1 | fixed |
| Opensuse | python-Pillow | leap 16.0 | 11.3.0-160000.8.1 | fixed |
| Suse | python-Pillow | linux enterprise module for python 3 15 sp7 | 9.5.0-150400.5.25.1 | fixed |
| Suse | python-Pillow | linux enterprise high performance computing 15 sp4-espos | 9.5.0-150400.5.25.1 | fixed |
| Suse | python-Pillow | linux enterprise high performance computing 15 sp4-ltss | 9.5.0-150400.5.25.1 | fixed |
| Suse | python-Pillow | linux enterprise high performance computing 15 sp5-espos | 9.5.0-150400.5.25.1 | fixed |
| Suse | python-Pillow | linux enterprise high performance computing 15 sp5-ltss | 9.5.0-150400.5.25.1 | fixed |
| Suse | python-Pillow | linux enterprise server 15 sp4-ltss | 9.5.0-150400.5.25.1 | fixed |
| Suse | python-Pillow | linux enterprise server 15 sp5-ltss | 9.5.0-150400.5.25.1 | fixed |
| Suse | python-Pillow | linux enterprise server 15 sp6-ltss | 9.5.0-150400.5.25.1 | fixed |
| Suse | python-Pillow | linux enterprise server for sap applications 15 sp4 | 9.5.0-150400.5.25.1 | fixed |
| Suse | python-Pillow | linux enterprise server for sap applications 15 sp5 | 9.5.0-150400.5.25.1 | fixed |
| Suse | python-Pillow | linux enterprise server for sap applications 15 sp6 | 9.5.0-150400.5.25.1 | fixed |
| Suse | python-Pillow | linux enterprise module for package hub 15 sp7 | 7.2.0-150300.3.30.1 | fixed |
| Opensuse | python-Pillow | tumbleweed | 12.3.0-2.1 | fixed |
| Cpe | pillow | Not reported | 12.3.0 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | pillow | source | sid | 12.3.0-1 | not yet assigned | Not reported | [1142274] |
| Debian | pillow | source | forky | 12.3.0-1 | not yet assigned | Not reported | [1142274] |
| Debian | pillow | source | trixie | (unfixed) | not yet assigned | Not reported | [1142274] |
| Debian | pillow | source | bookworm | (unfixed) | not yet assigned | Not reported | [1142274] |
| Pip | pillow | pip | Not reported | 12.3.0 | Not reported | Not reported | Not reported |
| PyPI | pillow | PyPI | Not reported | 12.3.0 | Not reported | GHSA-62P4-GMF7-7G93 | Not reported |
| Opensuse | python-graphifyy | rpm | tumbleweed | 0.9.65-1.1 | Not reported | OPENSUSE-SU-2026:11839-1 | Not reported |
| Suse | python-Pillow | rpm | linux enterprise server 16.0 | 11.3.0-160000.8.1 | Not reported | SUSE-SU-2026:23228-1 | Not reported |
| Suse | python-Pillow | rpm | linux enterprise server for sap applications 16.0 | 11.3.0-160000.8.1 | Not reported | SUSE-SU-2026:23228-1 | Not reported |
| Suse | python-Pillow | rpm | linux enterprise server 16.0 | 11.3.0-160000.8.1 | Not reported | SUSE-SU-2026:23217-1 | Not reported |
| Suse | python-Pillow | rpm | linux enterprise server for sap applications 16.0 | 11.3.0-160000.8.1 | Not reported | SUSE-SU-2026:23217-1 | Not reported |
| Opensuse | python-Pillow | rpm | leap 16.0 | 11.3.0-160000.8.1 | Not reported | OPENSUSE-SU-2026:21544-1 | Not reported |
| Suse | python-Pillow | rpm | linux enterprise module for python 3 15 sp7 | 9.5.0-150400.5.25.1 | Not reported | SUSE-SU-2026:3268-1 | Not reported |
| Suse | python-Pillow | rpm | linux enterprise high performance computing 15 sp4-espos | 9.5.0-150400.5.25.1 | Not reported | SUSE-SU-2026:3268-1 | Not reported |
| Suse | python-Pillow | rpm | linux enterprise high performance computing 15 sp4-ltss | 9.5.0-150400.5.25.1 | Not reported | SUSE-SU-2026:3268-1 | Not reported |
| Suse | python-Pillow | rpm | linux enterprise high performance computing 15 sp5-espos | 9.5.0-150400.5.25.1 | Not reported | SUSE-SU-2026:3268-1 | Not reported |
| Suse | python-Pillow | rpm | linux enterprise high performance computing 15 sp5-ltss | 9.5.0-150400.5.25.1 | Not reported | SUSE-SU-2026:3268-1 | Not reported |
| Suse | python-Pillow | rpm | linux enterprise server 15 sp4-ltss | 9.5.0-150400.5.25.1 | Not reported | SUSE-SU-2026:3268-1 | Not reported |
| Suse | python-Pillow | rpm | linux enterprise server 15 sp5-ltss | 9.5.0-150400.5.25.1 | Not reported | SUSE-SU-2026:3268-1 | Not reported |
| Suse | python-Pillow | rpm | linux enterprise server 15 sp6-ltss | 9.5.0-150400.5.25.1 | Not reported | SUSE-SU-2026:3268-1 | Not reported |
| Suse | python-Pillow | rpm | linux enterprise server for sap applications 15 sp4 | 9.5.0-150400.5.25.1 | Not reported | SUSE-SU-2026:3268-1 | Not reported |
| Suse | python-Pillow | rpm | linux enterprise server for sap applications 15 sp5 | 9.5.0-150400.5.25.1 | Not reported | SUSE-SU-2026:3268-1 | Not reported |
| Suse | python-Pillow | rpm | linux enterprise server for sap applications 15 sp6 | 9.5.0-150400.5.25.1 | Not reported | SUSE-SU-2026:3268-1 | Not reported |
| Suse | python-Pillow | rpm | linux enterprise module for package hub 15 sp7 | 7.2.0-150300.3.30.1 | Not reported | SUSE-SU-2026:3084-1 | Not reported |
| Opensuse | python-Pillow | rpm | tumbleweed | 12.3.0-2.1 | Not reported | OPENSUSE-SU-2026:11283-1 | Not reported |
| Cpe | pillow | cpe | Not reported | 12.3.0 | Not reported | NVD-CVE-2026-54058 | Not reported |
Notes
[trixie] pillow: Minor issue [bookworm] pillow: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-pil]Affected
Source package: [pillow]
Details (4)
9.4.0-1.1+deb12u1· amd64 · bookwormAffected
nvd · pillow · debian · bookworm; nvd · pillow · debian · 12
9.4.0-1.1+deb12u1· arm64 · bookwormAffected
nvd · pillow · debian · bookworm; nvd · pillow · debian · 12
9.4.0-1.1+deb12u1· amd64 · bookworm-securityAffected
nvd · pillow · debian · bookworm; nvd · pillow · debian · 12
9.4.0-1.1+deb12u1· arm64 · bookworm-securityAffected
nvd · pillow · debian · bookworm; nvd · pillow · debian · 12
- [python3-pil.imagetk]Affected
Source package: [pillow]
Details (4)
9.4.0-1.1+deb12u1· amd64 · bookwormAffected
nvd · pillow · debian · bookworm; nvd · pillow · debian · 12
9.4.0-1.1+deb12u1· arm64 · bookwormAffected
nvd · pillow · debian · bookworm; nvd · pillow · debian · 12
9.4.0-1.1+deb12u1· amd64 · bookworm-securityAffected
nvd · pillow · debian · bookworm; nvd · pillow · debian · 12
9.4.0-1.1+deb12u1· arm64 · bookworm-securityAffected
nvd · pillow · debian · bookworm; nvd · pillow · debian · 12
- [python-pil-doc]Affected
Source package: [pillow]
Details (4)
9.4.0-1.1+deb12u1· all · bookwormAffected
nvd · pillow · debian · bookworm; nvd · pillow · debian · 12
9.4.0-1.1+deb12u1· all · bookwormAffected
nvd · pillow · debian · bookworm; nvd · pillow · debian · 12
9.4.0-1.1+deb12u1· all · bookworm-securityAffected
nvd · pillow · debian · bookworm; nvd · pillow · debian · 12
9.4.0-1.1+deb12u1· all · bookworm-securityAffected
nvd · pillow · debian · bookworm; nvd · pillow · debian · 12
[Debian 13 (Trixie)]
- [python3-pil]Affected
Source package: [pillow]
Details (4)
11.1.0-5+deb13u4· amd64 · trixieAffected
nvd · pillow · debian · 13
11.1.0-5+deb13u4· arm64 · trixieAffected
nvd · pillow · debian · 13
11.1.0-5+deb13u3· amd64 · trixie-securityAffected
nvd · pillow · debian · 13
11.1.0-5+deb13u3· arm64 · trixie-securityAffected
nvd · pillow · debian · 13
- [python3-pil.imagetk]Affected
Source package: [pillow]
Details (4)
11.1.0-5+deb13u4· amd64 · trixieAffected
nvd · pillow · debian · 13
11.1.0-5+deb13u4· arm64 · trixieAffected
nvd · pillow · debian · 13
11.1.0-5+deb13u3· amd64 · trixie-securityAffected
nvd · pillow · debian · 13
11.1.0-5+deb13u3· arm64 · trixie-securityAffected
nvd · pillow · debian · 13
- [python-pil-doc]Affected
Source package: [pillow]
Details (4)
11.1.0-5+deb13u4· all · trixieAffected
nvd · pillow · debian · 13
11.1.0-5+deb13u4· all · trixieAffected
nvd · pillow · debian · 13
11.1.0-5+deb13u3· all · trixie-securityAffected
nvd · pillow · debian · 13
11.1.0-5+deb13u3· all · trixie-securityAffected
nvd · pillow · debian · 13
[openSUSE Tumbleweed]
- [python313-graphifyy]Unknown
Source package: [python-graphifyy]
Details (1)
0.9.52-1.1· noarch · tumbleweedUnknown · Fixed:
0.9.65-1.1Version impact unknown
nvd · python-graphifyy · opensuse · tumbleweed
- [python313-graphifyy-mcp]Unknown
Source package: [python-graphifyy]
Details (1)
0.9.52-1.1· noarch · tumbleweedUnknown · Fixed:
0.9.65-1.1Version impact unknown
nvd · python-graphifyy · opensuse · tumbleweed
- [python313-Pillow]Unknown
Source package: [python-Pillow]
Details (1)
12.3.0-2.2· x86_64 · tumbleweedUnknown · Fixed:
12.3.0-2.1Version impact unknown
nvd · python-Pillow · opensuse · tumbleweed
- [python313-Pillow-tk]Unknown
Source package: [python-Pillow]
Details (1)
12.3.0-2.2· x86_64 · tumbleweedUnknown · Fixed:
12.3.0-2.1Version impact unknown
nvd · python-Pillow · opensuse · tumbleweed
- [python314-graphifyy]Unknown
Source package: [python-graphifyy]
Details (1)
0.9.52-1.1· noarch · tumbleweedUnknown · Fixed:
0.9.65-1.1Version impact unknown
nvd · python-graphifyy · opensuse · tumbleweed
- [python314-graphifyy-mcp]Unknown
Source package: [python-graphifyy]
Details (1)
0.9.52-1.1· noarch · tumbleweedUnknown · Fixed:
0.9.65-1.1Version impact unknown
nvd · python-graphifyy · opensuse · tumbleweed
- [python314-Pillow]Unknown
Source package: [python-Pillow]
Details (1)
12.3.0-2.2· x86_64 · tumbleweedUnknown · Fixed:
12.3.0-2.1Version impact unknown
nvd · python-Pillow · opensuse · tumbleweed
- [python314-Pillow-tk]Unknown
Source package: [python-Pillow]
Details (1)
12.3.0-2.2· x86_64 · tumbleweedUnknown · Fixed:
12.3.0-2.1Version impact unknown
nvd · python-Pillow · opensuse · tumbleweed
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2026_3084-1.json]
- [https://github.com/python-pillow/Pillow/commit/6a8de891fb00968e5ea79bfa84368ed90b3cfc1d]
- [https://github.com/python-pillow/Pillow/pull/9719]
- [https://github.com/python-pillow/Pillow/releases/tag/12.3.0]
- [https://github.com/python-pillow/Pillow/security/advisories/GHSA-62p4-gmf7-7g93]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-54058]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-54058]
- [https://osv.dev/vulnerability/GHSA-62p4-gmf7-7g93]
- [https://osv.dev/vulnerability/SUSE-SU-2026:23217-1]
- [https://osv.dev/vulnerability/SUSE-SU-2026:23228-1]
- [https://osv.dev/vulnerability/SUSE-SU-2026:3084-1]
- [https://osv.dev/vulnerability/SUSE-SU-2026:3268-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-54058]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:11283-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:11839-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:21544-1]
- [https://security-tracker.debian.org/tracker/CVE-2026-54058]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-54058.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-2592.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [GitHub Advisory Database] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]