{"schemaVersion":3,"id":"CVE-2026-42309","aliases":["GHSA-5xmw-vc9v-4wf2","BIT-pillow-2026-42309","PYSEC-2026-2251","UBUNTU-CVE-2026-42309","DEBIAN-CVE-2026-42309","CGA-2p76-wv95-7r3q","CGA-5xp8-qcwh-5jvw","CGA-cm47-g8cm-35wj","CGA-gmxx-j572-45w6","CGA-jrpq-mhq6-qcjj","CGA-wxx9-q4q5-8cm7"],"status":"published","duplicateOf":null,"title":null,"description":"Pillow is a Python imaging library. From version 11.2.1 to before version 12.2.0, passing nested lists as coordinates to APIs that accept coordinates such as ImagePath.Path, ImageDraw.ImageDraw.polygon and ImageDraw.ImageDraw.line could cause a heap buffer overflow, as nested lists were recursively unpacked beyond the allocated buffer. Coordinate lists are now validated to contain exactly two numeric coordinates. This issue has been patched in version 12.2.0.","dates":{"published":"2026-05-09T04:08:10.517Z","modified":"2026-05-11T14:48:18.204Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":5.1,"severity":"medium","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":5.1,"severity":"medium","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":4.6,"impact":6,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":5.1,"severity":"medium","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":4.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":4.6,"impact":6,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Wolfi","score":5.1,"severity":"medium","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Chainguard","score":5.1,"severity":"medium","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":5.1,"severity":"medium","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00182,"percentile":0.07286,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.049,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00133},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00133,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00133,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00133,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00133,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00133,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00133,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00133,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00133,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00133,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00133,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00182,"percentile":0.07286}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00133,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00133,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00133,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00133,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00133,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00182,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00182,"percentile":0.07286}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-122","name":"Heap-based Buffer Overflow","description":"A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/122.html"}],"affected":[{"vendor":"chainguard","product":"kubeflow-pipelines-visualization-server","name":"kubeflow-pipelines-visualization-server","label":"kubeflow-pipelines-visualization-server","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/kubeflow-pipelines-visualization-server","purlType":"apk","versions":[{"text":"< 2.16.1-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.16.1-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"mlflow","name":"mlflow","label":"mlflow","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/mlflow","purlType":"apk","versions":[{"text":"< 3.16.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.16.0-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"open-webui","name":"open-webui","label":"open-webui","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/open-webui","purlType":"apk","versions":[{"text":"< 0.11.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.11.0-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"superset-6.0","name":"superset-6.0","label":"superset-6.0","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/superset-6.0","purlType":"apk","versions":[{"text":"< 6.0.0-r10","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.0.0-r10","eol":null,"hubHref":null},{"vendor":"wolfi","product":"kubeflow-pipelines-visualization-server","name":"kubeflow-pipelines-visualization-server","label":"kubeflow-pipelines-visualization-server","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/kubeflow-pipelines-visualization-server","purlType":"apk","versions":[{"text":"< 2.16.1-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.16.1-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"mlflow","name":"mlflow","label":"mlflow","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/mlflow","purlType":"apk","versions":[{"text":"< 3.16.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.16.0-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"open-webui","name":"open-webui","label":"open-webui","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/open-webui","purlType":"apk","versions":[{"text":"< 0.11.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.11.0-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"superset-6.0","name":"superset-6.0","label":"superset-6.0","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/superset-6.0","purlType":"apk","versions":[{"text":"< 6.0.0-r10","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.0.0-r10","eol":null,"hubHref":null},{"vendor":"debian","product":"pillow","name":"pillow","label":"pillow","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/pillow","purlType":"deb","versions":[{"text":"< 12.2.0-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 12.2.0-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"pillow","name":"pillow","label":"pillow","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/pillow","purlType":"deb","versions":[{"text":"< 11.3.0-1ubuntu1.3","noFixRecorded":false,"fixedIn":null},{"text":"< 12.1.1-2ubuntu1.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 11.3.0-1ubuntu1.3 | < 12.1.1-2ubuntu1.2","eol":null,"hubHref":null},{"vendor":"PyPI","product":"pillow","name":"pillow","label":"pillow","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/pillow","purlType":"pypi","versions":[{"text":"≥ 11.2.1, < 12.2.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 11.2.1, < 12.2.0","eol":null,"hubHref":null},{"vendor":"python-pillow","product":"pillow","name":"Pillow","label":"pillow","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 11.2.1, < 12.2.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 11.2.1, < 12.2.0","eol":null,"hubHref":"/vendor/python-pillow/pillow"},{"vendor":"python","product":"pillow","name":"pillow","label":"pillow","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 11.2.1, < 12.2.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 11.2.1, < 12.2.0","eol":null,"hubHref":"/vendor/python/pillow"}],"affectedCount":13,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-5xmw-vc9v-4wf2","label":"github.com/python-pillow/Pillow/security/advisories/GHSA-5xmw-vc9v-4wf2","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Advisory","REPORT","Vendor Advisory"]},{"url":"https://github.com/python-pillow/Pillow/releases/tag/12.2.0","label":"github.com/python-pillow/Pillow/releases/tag/12.2.0","hostname":"github.com","tags":["X Refsource MISC","WEB","Advisory","REPORT","Product","Release Notes"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42309","label":"nvd.nist.gov/vuln/detail/CVE-2026-42309","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/python-pillow/Pillow","label":"github.com/python-pillow/Pillow","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://ubuntu.com/security/CVE-2026-42309","label":"ubuntu.com/security/CVE-2026-42309","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-42309","label":"www.cve.org/CVERecord?id=CVE-2026-42309","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-8399-1","label":"ubuntu.com/security/notices/USN-8399-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-42309","label":"security-tracker.debian.org/tracker/CVE-2026-42309","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42309.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42309.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://github.com/designcomputer/mysql_mcp_server/commit/a96549f4a4d65443fd6e9c7f2324fba9a5c80a82","label":"github.com/designcomputer/mysql_mcp_server/commit/a96549f4a4d65443fd6e9c7f2324fba9a5c80a82","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/python-pillow/Pillow/commit/cf6de8ca9b23e714aa5310e1c791eda66fc0b670","label":"github.com/python-pillow/Pillow/commit/cf6de8ca9b23e714aa5310e1c791eda66fc0b670","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2026-2251.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2026-2251.yaml","hostname":"github.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":["USN-8399-1"],"duplicates":[],"related":["CGA-F8PR-JMVR-24QX","USN-8399-1"]},"timeline":[{"kind":"published","date":"2026-05-09T04:08:10.517Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-05-11T14:48:18.204Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":22,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T04:06:52.347Z","stale":false,"partial":false}}