
CVE catalog
CVE-2026-112391
Pillow is a Python imaging library. From 5.1.0 until…
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.5
CVSS: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 · 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]Unknown
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]Unknown
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]Unknown
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]Unknown
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]Unknown
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
Observed:
References
- [https://ftp.suse.com/pub/projects/security/]
- [https://github.com/python-pillow/Pillow/commit/94cb11c44ff7345414da17ebfea1598a529ad9cd]
- [https://github.com/python-pillow/Pillow/releases/tag/13.0.0]
- [https://github.com/python-pillow/Pillow/security/advisories/GHSA-254f-3936-288h]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-112391]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-112391]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-112391]
- [https://security-tracker.debian.org/tracker/CVE-2026-112391]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-112391.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]