CVE Explorer
CVE-2026-59200
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-400","description":"CWE-400: Uncontrolled Resource Consumption","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:4de9c00f2ceff310c4e595a3456dae88bd00c83b9eed725462d19b541cd6788f · sha256:125ed56d2ada074a… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-770","description":"CWE-770: Allocation of Resources Without Limits or Throttling","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:4de9c00f2ceff310c4e595a3456dae88bd00c83b9eed725462d19b541cd6788f · sha256:125ed56d2ada074a… · /containers/cna/problemTypes/1/descriptions/0
Affected products and versions
1 source assertion{"product":"Pillow","vendor":"python-pillow","versions":[{"status":"affected","version":">= 5.1.0, < 12.3.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:4de9c00f2ceff310c4e595a3456dae88bd00c83b9eed725462d19b541cd6788f · sha256:125ed56d2ada074a… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:4de9c00f2ceff310c4e595a3456dae88bd00c83b9eed725462d19b541cd6788f · sha256:125ed56d2ada074a… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"cweId":"CWE-400","description":"CWE-400: Uncontrolled Resource Consumption","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:4de9c00f2ceff310c4e595a3456dae88bd00c83b9eed725462d19b541cd6788f · sha256:125ed56d2ada074a… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-770","description":"CWE-770: Allocation of Resources Without Limits or Throttling","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:4de9c00f2ceff310c4e595a3456dae88bd00c83b9eed725462d19b541cd6788f · sha256:125ed56d2ada074a… · /containers/cna/problemTypes/1/descriptions/0
Source references
5 source assertions{"name":"https://github.com/python-pillow/Pillow/commit/f7a31ea75e460e108c37126da1f47812f21f6b09","tags":["x_refsource_MISC"],"url":"https://github.com/python-pillow/Pillow/commit/f7a31ea75e460e108c37126da1f47812f21f6b09"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:4de9c00f2ceff310c4e595a3456dae88bd00c83b9eed725462d19b541cd6788f · sha256:125ed56d2ada074a… · /containers/cna/references/2
{"name":"https://github.com/python-pillow/Pillow/pull/9718","tags":["x_refsource_MISC"],"url":"https://github.com/python-pillow/Pillow/pull/9718"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:4de9c00f2ceff310c4e595a3456dae88bd00c83b9eed725462d19b541cd6788f · sha256:125ed56d2ada074a… · /containers/cna/references/1
{"name":"https://github.com/python-pillow/Pillow/releases/tag/12.3.0","tags":["x_refsource_MISC"],"url":"https://github.com/python-pillow/Pillow/releases/tag/12.3.0"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:4de9c00f2ceff310c4e595a3456dae88bd00c83b9eed725462d19b541cd6788f · sha256:125ed56d2ada074a… · /containers/cna/references/3
{"name":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-jjj6-mw9f-p565","tags":["x_refsource_CONFIRM"],"url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-jjj6-mw9f-p565"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:4de9c00f2ceff310c4e595a3456dae88bd00c83b9eed725462d19b541cd6788f · sha256:125ed56d2ada074a… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-jjj6-mw9f-p565"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:4de9c00f2ceff310c4e595a3456dae88bd00c83b9eed725462d19b541cd6788f · sha256:125ed56d2ada074a… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.