CVE Explorer
CVE-2026-55380
Pillow is a Python imaging library. Prior to 12.3.0, PIL/GdImageFile.py GdImageFile._open() read image dimensions from the GD 2.x header and stored them in self._size without calling Image._decompression_bomb_check(), allowing a crafted .gd file to trigger excessive C-heap allocation when loaded. This issue is fixed in version 12.3.0.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"Pillow","vendor":"python-pillow","versions":[{"status":"affected","version":"< 12.3.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:5774e0a47085645f7a945c40c039f2c9504a23c5549d21f0305b5eb355fcd3df · sha256:b52ccadd98590707… · /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:5774e0a47085645f7a945c40c039f2c9504a23c5549d21f0305b5eb355fcd3df · sha256:b52ccadd98590707… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-789","description":"CWE-789: Memory Allocation with Excessive Size Value","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:5774e0a47085645f7a945c40c039f2c9504a23c5549d21f0305b5eb355fcd3df · sha256:b52ccadd98590707… · /containers/cna/problemTypes/0/descriptions/0
Source references
4 source assertions{"name":"https://github.com/python-pillow/Pillow/blob/main/docs/releasenotes/12.3.0.rst","tags":["x_refsource_MISC"],"url":"https://github.com/python-pillow/Pillow/blob/main/docs/releasenotes/12.3.0.rst"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5774e0a47085645f7a945c40c039f2c9504a23c5549d21f0305b5eb355fcd3df · sha256:b52ccadd98590707… · /containers/cna/references/2
{"name":"https://github.com/python-pillow/Pillow/commit/f39b0ae6624eb2d7c5c5d651d9bb5fdbd96a8675","tags":["x_refsource_MISC"],"url":"https://github.com/python-pillow/Pillow/commit/f39b0ae6624eb2d7c5c5d651d9bb5fdbd96a8675"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5774e0a47085645f7a945c40c039f2c9504a23c5549d21f0305b5eb355fcd3df · sha256:b52ccadd98590707… · /containers/cna/references/1
{"tags":["exploit"],"url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-phj9-mv4w-65pm"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5774e0a47085645f7a945c40c039f2c9504a23c5549d21f0305b5eb355fcd3df · sha256:b52ccadd98590707… · /containers/adp/0/references/0
{"name":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-phj9-mv4w-65pm","tags":["x_refsource_CONFIRM"],"url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-phj9-mv4w-65pm"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5774e0a47085645f7a945c40c039f2c9504a23c5549d21f0305b5eb355fcd3df · sha256:b52ccadd98590707… · /containers/cna/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.