CVE catalog

CVE-2026-112391

Pillow is a Python imaging library. From 5.1.0 until…

[CVE catalog]

Pillow is a Python imaging library. From 5.1.0 until 13.0.0, Pillow's PdfParser.get_value() can recurse without a limit while reading nested PDF objects. The parser follows attacker-controlled arrays and dictionaries when an existing PDF is opened for append. An attacker can provide a deeply nested PDF to an application that saves an image with PDF append enabled. This can raise an uncaught RecursionError or terminate the worker, causing denial of service. This issue is fixed in version 13.0.0.

Severity
High · CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
Updated
Source
[NVD] · [CVE record]
EPSS
0.58% · Oct 27, 2026

Projects and upstream resources

Reported versions and fixes

Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.

Version impact has not been established. The original provider fields are retained below.

Provider details and historical evidence
Original provider fields
{
  "package_releases": [
    {
      "name": "pillow",
      "status": "fixed",
      "release": "sid",
      "version": "13.0.0-1"
    },
    {
      "name": "pillow",
      "status": "vulnerable",
      "release": "forky",
      "version": "12.3.0-1"
    },
    {
      "name": "pillow",
      "status": "vulnerable",
      "release": "trixie",
      "version": "11.1.0-5+deb13u4"
    },
    {
      "name": "pillow",
      "status": "vulnerable",
      "release": "trixie-security",
      "version": "11.1.0-5+deb13u3"
    },
    {
      "name": "pillow",
      "status": "vulnerable",
      "release": "bookworm",
      "version": "9.4.0-1.1+deb12u1"
    },
    {
      "name": "pillow",
      "status": "vulnerable",
      "release": "bookworm-security",
      "version": "9.4.0-1.1+deb12u1"
    }
  ],
  "fixed_versions": [
    {
      "bug": null,
      "name": "pillow",
      "type": "source",
      "origin": null,
      "release": "sid",
      "urgency": "not yet assigned",
      "fixed_version": "13.0.0-1"
    },
    {
      "bug": null,
      "name": "pillow",
      "type": "source",
      "origin": null,
      "release": "forky",
      "urgency": "not yet assigned",
      "fixed_version": ""
    },
    {
      "bug": null,
      "name": "pillow",
      "type": "source",
      "origin": null,
      "release": "trixie",
      "urgency": "not yet assigned",
      "fixed_version": ""
    },
    {
      "bug": null,
      "name": "pillow",
      "type": "source",
      "origin": null,
      "release": "bookworm",
      "urgency": "not yet assigned",
      "fixed_version": ""
    }
  ],
  "distribution_packages": [
    {
      "name": "pillow",
      "ranges": [
        {
          "fixed": "13.0.0",
          "introduced": "5.1.0",
          "last_affected": "",
          "start_excluding": ""
        }
      ],
      "ecosystem": "cpe",
      "fixed_version": "13.0.0",
      "provider_record_id": "NVD-CVE-2026-112391"
    },
    {
      "name": "pillow",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            }
          ]
        }
      ],
      "release": "pro",
      "versions": [
        "6.1.0-1",
        "6.1.0-1build1",
        "6.2.1-2",
        "7.0.0-4",
        "7.0.0-4build1",
        "7.0.0-4ubuntu0.1",
        "7.0.0-4ubuntu0.2",
        "7.0.0-4ubuntu0.3",
        "7.0.0-4ubuntu0.4",
        "7.0.0-4ubuntu0.5",
        "7.0.0-4ubuntu0.6",
        "7.0.0-4ubuntu0.7",
        "7.0.0-4ubuntu0.8",
        "7.0.0-4ubuntu0.9",
        "7.0.0-4ubuntu0.9+esm1"
      ],
      "ecosystem": "deb",
      "fixed_version": "",
      "provider_record_id": "UBUNTU-CVE-2026-112391"
    },
    {
      "name": "pillow-python2",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            }
          ]
        }
      ],
      "release": "pro",
      "versions": [
        "6.2.1-3~build1",
        "6.2.1-3",
        "6.2.1-3ubuntu0.1~esm1",
        "6.2.1-3ubuntu0.1~esm2"
      ],
      "ecosystem": "deb",
      "fixed_version": "",
      "provider_record_id": "UBUNTU-CVE-2026-112391"
    },
    {
      "name": "pillow",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            }
          ]
        }
      ],
      "release": "22.04",
      "versions": [
        "8.1.2+dfsg-0.3",
        "9.0.0-1",
        "9.0.1-1",
        "9.0.1-1build1",
        "9.0.1-1ubuntu0.1",
        "9.0.1-1ubuntu0.2",
        "9.0.1-1ubuntu0.3",
        "9.0.1-1ubuntu0.4",
        "9.0.1-1ubuntu0.5"
      ],
      "ecosystem": "deb",
      "fixed_version": "",
      "provider_record_id": "UBUNTU-CVE-2026-112391"
    },
    {
      "name": "pillow",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            }
          ]
        }
      ],
      "release": "24.04",
      "versions": [
        "10.0.0-1",
        "10.1.0-1",
        "10.2.0-1",
        "10.2.0-1build1",
        "10.2.0-1ubuntu1",
        "10.2.0-1ubuntu1.2",
        "10.2.0-1ubuntu1.3"
      ],
      "ecosystem": "deb",
      "fixed_version": "",
      "provider_record_id": "UBUNTU-CVE-2026-112391"
    },
    {
      "name": "pillow",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            }
          ]
        }
      ],
      "release": "26.10",
      "versions": [
        "12.1.1-2ubuntu1",
        "12.3.0-1ubuntu1"
      ],
      "ecosystem": "deb",
      "fixed_version": "",
      "provider_record_id": "UBUNTU-CVE-2026-112391"
    },
    {
      "name": "pillow",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            }
          ]
        }
      ],
      "release": "26.04",
      "versions": [
        "11.3.0-1ubuntu1",
        "11.3.0-1ubuntu2",
        "12.0.0-1ubuntu1",
        "12.1.1-1ubuntu1",
        "12.1.1-2ubuntu1",
        "12.1.1-2ubuntu1.1",
        "12.1.1-2ubuntu1.2",
        "12.1.1-2ubuntu1.3"
      ],
      "ecosystem": "deb",
      "fixed_version": "",
      "provider_record_id": "UBUNTU-CVE-2026-112391"
    }
  ]
}

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [python3-pil]Unknown

    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

  • 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]Unknown

    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

  • 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

Observed:

References