CVE Explorer
CVE-2026-59198
Pillow is a Python imaging library. From 5.2.0 until 12.3.0, Pillow's TGA RLE encoder reads past its packed row buffer when saving a mode 1 image with TGA RLE compression, allowing adjacent process heap bytes to be copied into the generated TGA file. 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":">= 5.2.0, < 12.3.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:a5691299adc3ae06cfcd48885bcab6a50f3b27a18e641183bf5e5cd0346e723c · sha256:f77b83ded5bddb71… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:L","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:a5691299adc3ae06cfcd48885bcab6a50f3b27a18e641183bf5e5cd0346e723c · sha256:f77b83ded5bddb71… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-125","description":"CWE-125: Out-of-bounds Read","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:a5691299adc3ae06cfcd48885bcab6a50f3b27a18e641183bf5e5cd0346e723c · sha256:f77b83ded5bddb71… · /containers/cna/problemTypes/0/descriptions/0
Source references
5 source assertions{"name":"https://github.com/python-pillow/Pillow/commit/eada3cbd7fb9963ee90673fb7b5270124a0d5f4b","tags":["x_refsource_MISC"],"url":"https://github.com/python-pillow/Pillow/commit/eada3cbd7fb9963ee90673fb7b5270124a0d5f4b"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a5691299adc3ae06cfcd48885bcab6a50f3b27a18e641183bf5e5cd0346e723c · sha256:f77b83ded5bddb71… · /containers/cna/references/2
{"name":"https://github.com/python-pillow/Pillow/pull/9709","tags":["x_refsource_MISC"],"url":"https://github.com/python-pillow/Pillow/pull/9709"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a5691299adc3ae06cfcd48885bcab6a50f3b27a18e641183bf5e5cd0346e723c · sha256:f77b83ded5bddb71… · /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:a5691299adc3ae06cfcd48885bcab6a50f3b27a18e641183bf5e5cd0346e723c · sha256:f77b83ded5bddb71… · /containers/cna/references/3
{"name":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-fj7v-r99m-22gq","tags":["x_refsource_CONFIRM"],"url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-fj7v-r99m-22gq"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a5691299adc3ae06cfcd48885bcab6a50f3b27a18e641183bf5e5cd0346e723c · sha256:f77b83ded5bddb71… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-fj7v-r99m-22gq"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a5691299adc3ae06cfcd48885bcab6a50f3b27a18e641183bf5e5cd0346e723c · sha256:f77b83ded5bddb71… · /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.