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

[CVE catalog]

Severity
Critical · CVSS 9.1CVSS: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.

DistributionPackageReleaseVersionStatus
Debianpillowsid13.0.0-1fixed
Debianpillowforky12.3.0-1fixed
Debianpillowtrixie11.1.0-5+deb13u4vulnerable
Debianpillowtrixie-security11.1.0-5+deb13u3vulnerable
Debianpillowbookworm9.4.0-1.1+deb12u1vulnerable
Debianpillowbookworm-security9.4.0-1.1+deb12u1vulnerable
CpepillowNot reportedNot reportedvulnerable
PippillowNot reported12.3.0fixed
PyPIpillowNot reported12.3.0fixed
Opensusepython-graphifyytumbleweed0.9.65-1.1fixed
Ubuntupillowpro6.1.0-1vulnerable
Ubuntupillowpro6.1.0-1build1vulnerable
Ubuntupillowpro6.2.1-2vulnerable
Ubuntupillowpro7.0.0-4vulnerable
Ubuntupillowpro7.0.0-4build1vulnerable
Ubuntupillowpro7.0.0-4ubuntu0.1vulnerable
Ubuntupillowpro7.0.0-4ubuntu0.2vulnerable
Ubuntupillowpro7.0.0-4ubuntu0.3vulnerable
Ubuntupillowpro7.0.0-4ubuntu0.4vulnerable
Ubuntupillowpro7.0.0-4ubuntu0.5vulnerable
Ubuntupillowpro7.0.0-4ubuntu0.6vulnerable
Ubuntupillowpro7.0.0-4ubuntu0.7vulnerable
Ubuntupillowpro7.0.0-4ubuntu0.8vulnerable
Ubuntupillowpro7.0.0-4ubuntu0.9vulnerable
Ubuntupillowpro7.0.0-4ubuntu0.9+esm1vulnerable
Ubuntupillow-python2pro6.2.1-3~build1vulnerable
Ubuntupillow-python2pro6.2.1-3vulnerable
Ubuntupillow-python2pro6.2.1-3ubuntu0.1~esm1vulnerable
Ubuntupillow-python2pro6.2.1-3ubuntu0.1~esm2vulnerable
Ubuntupillow22.048.1.2+dfsg-0.3vulnerable
Ubuntupillow22.049.0.0-1vulnerable
Ubuntupillow22.049.0.1-1vulnerable
Ubuntupillow22.049.0.1-1build1vulnerable
Ubuntupillow22.049.0.1-1ubuntu0.1vulnerable
Ubuntupillow22.049.0.1-1ubuntu0.2vulnerable
Ubuntupillow22.049.0.1-1ubuntu0.3vulnerable
Ubuntupillow22.049.0.1-1ubuntu0.4vulnerable
Ubuntupillow22.049.0.1-1ubuntu0.5vulnerable
Ubuntupillow24.0410.0.0-1vulnerable
Ubuntupillow24.0410.1.0-1vulnerable
Ubuntupillow24.0410.2.0-1vulnerable
Ubuntupillow24.0410.2.0-1build1vulnerable
Ubuntupillow24.0410.2.0-1ubuntu1vulnerable
Ubuntupillow24.0410.2.0-1ubuntu1.2vulnerable
Ubuntupillow24.0410.2.0-1ubuntu1.3vulnerable
Ubuntupillow26.0411.3.0-1ubuntu1vulnerable
Ubuntupillow26.0411.3.0-1ubuntu2vulnerable
Ubuntupillow26.0412.0.0-1ubuntu1vulnerable
Ubuntupillow26.0412.1.1-1ubuntu1vulnerable
Ubuntupillow26.0412.1.1-2ubuntu1vulnerable
Ubuntupillow26.0412.1.1-2ubuntu1.1vulnerable
Ubuntupillow26.0412.1.1-2ubuntu1.2vulnerable
Ubuntupillow26.0412.1.1-2ubuntu1.3vulnerable
Susepython-Pillowlinux enterprise server 16.011.3.0-160000.8.1fixed
Susepython-Pillowlinux enterprise server for sap applications 16.011.3.0-160000.8.1fixed
Susepython-Pillowlinux enterprise server 16.011.3.0-160000.8.1fixed
Susepython-Pillowlinux enterprise server for sap applications 16.011.3.0-160000.8.1fixed
Opensusepython-Pillowleap 16.011.3.0-160000.8.1fixed
Susepython-Pillowlinux enterprise module for python 3 15 sp79.5.0-150400.5.25.1fixed
Susepython-Pillowlinux enterprise high performance computing 15 sp4-espos9.5.0-150400.5.25.1fixed
Susepython-Pillowlinux enterprise high performance computing 15 sp4-ltss9.5.0-150400.5.25.1fixed
Susepython-Pillowlinux enterprise high performance computing 15 sp5-espos9.5.0-150400.5.25.1fixed
Susepython-Pillowlinux enterprise high performance computing 15 sp5-ltss9.5.0-150400.5.25.1fixed
Susepython-Pillowlinux enterprise server 15 sp4-ltss9.5.0-150400.5.25.1fixed
Susepython-Pillowlinux enterprise server 15 sp5-ltss9.5.0-150400.5.25.1fixed
Susepython-Pillowlinux enterprise server 15 sp6-ltss9.5.0-150400.5.25.1fixed
Susepython-Pillowlinux enterprise server for sap applications 15 sp49.5.0-150400.5.25.1fixed
Susepython-Pillowlinux enterprise server for sap applications 15 sp59.5.0-150400.5.25.1fixed
Susepython-Pillowlinux enterprise server for sap applications 15 sp69.5.0-150400.5.25.1fixed
Susepython-Pillowlinux enterprise module for package hub 15 sp77.2.0-150300.3.30.1fixed
Opensusepython-Pillowtumbleweed12.3.0-2.1fixed
CpepillowNot reported12.3.0fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpillowsourcesid12.3.0-1not yet assignedNot reported[1142274]
Debianpillowsourceforky12.3.0-1not yet assignedNot reported[1142274]
Debianpillowsourcetrixie(unfixed)not yet assignedNot reported[1142274]
Debianpillowsourcebookworm(unfixed)not yet assignedNot reported[1142274]
PippillowpipNot reported12.3.0Not reportedNot reportedNot reported
PyPIpillowPyPINot reported12.3.0Not reportedGHSA-62P4-GMF7-7G93Not reported
Opensusepython-graphifyyrpmtumbleweed0.9.65-1.1Not reportedOPENSUSE-SU-2026:11839-1Not reported
Susepython-Pillowrpmlinux enterprise server 16.011.3.0-160000.8.1Not reportedSUSE-SU-2026:23228-1Not reported
Susepython-Pillowrpmlinux enterprise server for sap applications 16.011.3.0-160000.8.1Not reportedSUSE-SU-2026:23228-1Not reported
Susepython-Pillowrpmlinux enterprise server 16.011.3.0-160000.8.1Not reportedSUSE-SU-2026:23217-1Not reported
Susepython-Pillowrpmlinux enterprise server for sap applications 16.011.3.0-160000.8.1Not reportedSUSE-SU-2026:23217-1Not reported
Opensusepython-Pillowrpmleap 16.011.3.0-160000.8.1Not reportedOPENSUSE-SU-2026:21544-1Not reported
Susepython-Pillowrpmlinux enterprise module for python 3 15 sp79.5.0-150400.5.25.1Not reportedSUSE-SU-2026:3268-1Not reported
Susepython-Pillowrpmlinux enterprise high performance computing 15 sp4-espos9.5.0-150400.5.25.1Not reportedSUSE-SU-2026:3268-1Not reported
Susepython-Pillowrpmlinux enterprise high performance computing 15 sp4-ltss9.5.0-150400.5.25.1Not reportedSUSE-SU-2026:3268-1Not reported
Susepython-Pillowrpmlinux enterprise high performance computing 15 sp5-espos9.5.0-150400.5.25.1Not reportedSUSE-SU-2026:3268-1Not reported
Susepython-Pillowrpmlinux enterprise high performance computing 15 sp5-ltss9.5.0-150400.5.25.1Not reportedSUSE-SU-2026:3268-1Not reported
Susepython-Pillowrpmlinux enterprise server 15 sp4-ltss9.5.0-150400.5.25.1Not reportedSUSE-SU-2026:3268-1Not reported
Susepython-Pillowrpmlinux enterprise server 15 sp5-ltss9.5.0-150400.5.25.1Not reportedSUSE-SU-2026:3268-1Not reported
Susepython-Pillowrpmlinux enterprise server 15 sp6-ltss9.5.0-150400.5.25.1Not reportedSUSE-SU-2026:3268-1Not reported
Susepython-Pillowrpmlinux enterprise server for sap applications 15 sp49.5.0-150400.5.25.1Not reportedSUSE-SU-2026:3268-1Not reported
Susepython-Pillowrpmlinux enterprise server for sap applications 15 sp59.5.0-150400.5.25.1Not reportedSUSE-SU-2026:3268-1Not reported
Susepython-Pillowrpmlinux enterprise server for sap applications 15 sp69.5.0-150400.5.25.1Not reportedSUSE-SU-2026:3268-1Not reported
Susepython-Pillowrpmlinux enterprise module for package hub 15 sp77.2.0-150300.3.30.1Not reportedSUSE-SU-2026:3084-1Not reported
Opensusepython-Pillowrpmtumbleweed12.3.0-2.1Not reportedOPENSUSE-SU-2026:11283-1Not reported
CpepillowcpeNot reported12.3.0Not reportedNVD-CVE-2026-54058Not reported

[Debian bug #1142274]

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 · bookworm

      Affected

      nvd · pillow · debian · bookworm; nvd · pillow · debian · 12

    • 9.4.0-1.1+deb12u1 · arm64 · bookworm

      Affected

      nvd · pillow · debian · bookworm; nvd · pillow · debian · 12

    • 9.4.0-1.1+deb12u1 · amd64 · bookworm-security

      Affected

      nvd · pillow · debian · bookworm; nvd · pillow · debian · 12

    • 9.4.0-1.1+deb12u1 · arm64 · bookworm-security

      Affected

      nvd · pillow · debian · bookworm; nvd · pillow · debian · 12

  • Source package: [pillow]

    Details (4)
    • 9.4.0-1.1+deb12u1 · amd64 · bookworm

      Affected

      nvd · pillow · debian · bookworm; nvd · pillow · debian · 12

    • 9.4.0-1.1+deb12u1 · arm64 · bookworm

      Affected

      nvd · pillow · debian · bookworm; nvd · pillow · debian · 12

    • 9.4.0-1.1+deb12u1 · amd64 · bookworm-security

      Affected

      nvd · pillow · debian · bookworm; nvd · pillow · debian · 12

    • 9.4.0-1.1+deb12u1 · arm64 · bookworm-security

      Affected

      nvd · pillow · debian · bookworm; nvd · pillow · debian · 12

  • [python-pil-doc]Affected

    Source package: [pillow]

    Details (4)
    • 9.4.0-1.1+deb12u1 · all · bookworm

      Affected

      nvd · pillow · debian · bookworm; nvd · pillow · debian · 12

    • 9.4.0-1.1+deb12u1 · all · bookworm

      Affected

      nvd · pillow · debian · bookworm; nvd · pillow · debian · 12

    • 9.4.0-1.1+deb12u1 · all · bookworm-security

      Affected

      nvd · pillow · debian · bookworm; nvd · pillow · debian · 12

    • 9.4.0-1.1+deb12u1 · all · bookworm-security

      Affected

      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 · trixie

      Affected

      nvd · pillow · debian · 13

    • 11.1.0-5+deb13u4 · arm64 · trixie

      Affected

      nvd · pillow · debian · 13

    • 11.1.0-5+deb13u3 · amd64 · trixie-security

      Affected

      nvd · pillow · debian · 13

    • 11.1.0-5+deb13u3 · arm64 · trixie-security

      Affected

      nvd · pillow · debian · 13

  • Source package: [pillow]

    Details (4)
    • 11.1.0-5+deb13u4 · amd64 · trixie

      Affected

      nvd · pillow · debian · 13

    • 11.1.0-5+deb13u4 · arm64 · trixie

      Affected

      nvd · pillow · debian · 13

    • 11.1.0-5+deb13u3 · amd64 · trixie-security

      Affected

      nvd · pillow · debian · 13

    • 11.1.0-5+deb13u3 · arm64 · trixie-security

      Affected

      nvd · pillow · debian · 13

  • [python-pil-doc]Affected

    Source package: [pillow]

    Details (4)
    • 11.1.0-5+deb13u4 · all · trixie

      Affected

      nvd · pillow · debian · 13

    • 11.1.0-5+deb13u4 · all · trixie

      Affected

      nvd · pillow · debian · 13

    • 11.1.0-5+deb13u3 · all · trixie-security

      Affected

      nvd · pillow · debian · 13

    • 11.1.0-5+deb13u3 · all · trixie-security

      Affected

      nvd · pillow · debian · 13

[openSUSE Tumbleweed]

  • Source package: [python-graphifyy]

    Details (1)
    • 0.9.52-1.1 · noarch · tumbleweed

      Unknown · Fixed: 0.9.65-1.1

      Version impact unknown

      nvd · python-graphifyy · opensuse · tumbleweed

  • Source package: [python-graphifyy]

    Details (1)
    • 0.9.52-1.1 · noarch · tumbleweed

      Unknown · Fixed: 0.9.65-1.1

      Version impact unknown

      nvd · python-graphifyy · opensuse · tumbleweed

  • Source package: [python-Pillow]

    Details (1)
    • 12.3.0-2.2 · x86_64 · tumbleweed

      Unknown · Fixed: 12.3.0-2.1

      Version impact unknown

      nvd · python-Pillow · opensuse · tumbleweed

  • Source package: [python-Pillow]

    Details (1)
    • 12.3.0-2.2 · x86_64 · tumbleweed

      Unknown · Fixed: 12.3.0-2.1

      Version impact unknown

      nvd · python-Pillow · opensuse · tumbleweed

  • Source package: [python-graphifyy]

    Details (1)
    • 0.9.52-1.1 · noarch · tumbleweed

      Unknown · Fixed: 0.9.65-1.1

      Version impact unknown

      nvd · python-graphifyy · opensuse · tumbleweed

  • Source package: [python-graphifyy]

    Details (1)
    • 0.9.52-1.1 · noarch · tumbleweed

      Unknown · Fixed: 0.9.65-1.1

      Version impact unknown

      nvd · python-graphifyy · opensuse · tumbleweed

  • Source package: [python-Pillow]

    Details (1)
    • 12.3.0-2.2 · x86_64 · tumbleweed

      Unknown · Fixed: 12.3.0-2.1

      Version impact unknown

      nvd · python-Pillow · opensuse · tumbleweed

  • Source package: [python-Pillow]

    Details (1)
    • 12.3.0-2.2 · x86_64 · tumbleweed

      Unknown · Fixed: 12.3.0-2.1

      Version impact unknown

      nvd · python-Pillow · opensuse · tumbleweed

Observed:

References