{"id":"CVE-2020-5310","aliases":["ALPINE-CVE-2020-5310","BIT-pillow-2020-5310","DEBIAN-CVE-2020-5310","GHSA-vcqg-3p29-xw73","PYSEC-2020-81"],"summary":"libImaging/TiffDecode.c in Pillow before 6.2.2 has a TIFF decoding integer overflow, related to realloc.","published_at":"2020-01-03T00:00:00Z","modified_at":"2026-11-03T06:32:26.136439Z","products":[],"rating":{"severity":"critical","score":9.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"red_hat":"Important","vendor_ratings":[{"source":"SUSE","rating":"important"},{"source":"Red Hat","rating":"Important"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.019750000908970833,"percentile":0.8091999888420105,"date":"2026-11-19T00:00:00Z"},"priority":11.3,"details":"libImaging/TiffDecode.c in Pillow before 6.2.2 has a TIFF decoding integer overflow, related to realloc.","affected_stack":[],"affected_other":[{"ecosystem":"Alpine:v3.12","package":"py3-pillow","purl":"pkg:apk/alpine/py3-pillow?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.2-r0"}]}],"fixed":["6.2.2-r0"],"provider":"osv","source":"ALPINE-CVE-2020-5310","relation":"self"},{"ecosystem":"Alpine:v3.13","package":"py3-pillow","purl":"pkg:apk/alpine/py3-pillow?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.2-r0"}]}],"fixed":["6.2.2-r0"],"provider":"osv","source":"ALPINE-CVE-2020-5310","relation":"self"},{"ecosystem":"Alpine:v3.14","package":"py3-pillow","purl":"pkg:apk/alpine/py3-pillow?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.2-r0"}]}],"fixed":["6.2.2-r0"],"provider":"osv","source":"ALPINE-CVE-2020-5310","relation":"self"},{"ecosystem":"Alpine:v3.15","package":"py3-pillow","purl":"pkg:apk/alpine/py3-pillow?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.2-r0"}]}],"fixed":["6.2.2-r0"],"provider":"osv","source":"ALPINE-CVE-2020-5310","relation":"self"},{"ecosystem":"Alpine:v3.16","package":"py3-pillow","purl":"pkg:apk/alpine/py3-pillow?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.2-r0"}]}],"fixed":["6.2.2-r0"],"provider":"osv","source":"ALPINE-CVE-2020-5310","relation":"self"},{"ecosystem":"Alpine:v3.17","package":"py3-pillow","purl":"pkg:apk/alpine/py3-pillow?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.2-r0"}]}],"fixed":["6.2.2-r0"],"provider":"osv","source":"ALPINE-CVE-2020-5310","relation":"self"},{"ecosystem":"Alpine:v3.18","package":"py3-pillow","purl":"pkg:apk/alpine/py3-pillow?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.2-r0"}]}],"fixed":["6.2.2-r0"],"provider":"osv","source":"ALPINE-CVE-2020-5310","relation":"self"},{"ecosystem":"Alpine:v3.19","package":"py3-pillow","purl":"pkg:apk/alpine/py3-pillow?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.2-r0"}]}],"fixed":["6.2.2-r0"],"provider":"osv","source":"ALPINE-CVE-2020-5310","relation":"self"},{"ecosystem":"Alpine:v3.20","package":"py3-pillow","purl":"pkg:apk/alpine/py3-pillow?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.2-r0"}]}],"fixed":["6.2.2-r0"],"provider":"osv","source":"ALPINE-CVE-2020-5310","relation":"self"},{"ecosystem":"Alpine:v3.21","package":"py3-pillow","purl":"pkg:apk/alpine/py3-pillow?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.2-r0"}]}],"fixed":["6.2.2-r0"],"provider":"osv","source":"ALPINE-CVE-2020-5310","relation":"self"},{"ecosystem":"Alpine:v3.22","package":"py3-pillow","purl":"pkg:apk/alpine/py3-pillow?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.2-r0"}]}],"fixed":["6.2.2-r0"],"provider":"osv","source":"ALPINE-CVE-2020-5310","relation":"self"},{"ecosystem":"Alpine:v3.23","package":"py3-pillow","purl":"pkg:apk/alpine/py3-pillow?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.2-r0"}]}],"fixed":["6.2.2-r0"],"provider":"osv","source":"ALPINE-CVE-2020-5310","relation":"self"},{"ecosystem":"Alpine:v3.24","package":"py3-pillow","purl":"pkg:apk/alpine/py3-pillow?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.2-r0"}]}],"fixed":["6.2.2-r0"],"provider":"osv","source":"ALPINE-CVE-2020-5310","relation":"self"},{"ecosystem":"Bitnami","package":"pillow","purl":"pkg:bitnami/pillow","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"6.2.2"}]}],"fixed":["6.2.2"],"provider":"osv","source":"BIT-pillow-2020-5310","relation":"self"},{"ecosystem":"Debian:12","package":"pillow","purl":"pkg:deb/debian/pillow?arch=source&distro=bookworm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.0.0-1"}]}],"fixed":["7.0.0-1"],"provider":"osv","source":"DEBIAN-CVE-2020-5310","relation":"self"},{"ecosystem":"Debian:13","package":"pillow","purl":"pkg:deb/debian/pillow?arch=source&distro=trixie","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.0.0-1"}]}],"fixed":["7.0.0-1"],"provider":"osv","source":"DEBIAN-CVE-2020-5310","relation":"self"},{"ecosystem":"Debian:14","package":"pillow","purl":"pkg:deb/debian/pillow?arch=source&distro=forky","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.0.0-1"}]}],"fixed":["7.0.0-1"],"provider":"osv","source":"DEBIAN-CVE-2020-5310","relation":"self"},{"ecosystem":"NVD","package":"canonical:ubuntu_linux","versions":["14.04","16.04","18.04","19.10"],"provider":"nvd","source":"CVE-2020-5310","relation":"self"},{"ecosystem":"NVD","package":"fedoraproject:fedora","versions":["30","31"],"provider":"nvd","source":"CVE-2020-5310","relation":"self"},{"ecosystem":"NVD","package":"python:pillow","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.2"}]}],"fixed":["6.2.2"],"provider":"nvd","source":"CVE-2020-5310","relation":"self"},{"ecosystem":"PyPI","package":"pillow","purl":"pkg:pypi/pillow","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.2"}]}],"versions":["1.0","1.1","1.2","1.3","1.4","1.5","1.6","1.7.0","1.7.1","1.7.2","1.7.3","1.7.4","1.7.5","1.7.6","1.7.7","1.7.8","2.0.0","2.1.0","2.2.0","2.2.1","2.2.2","2.3.0","2.3.1","2.3.2","2.4.0","2.5.0","2.5.1","2.5.2","2.5.3","2.6.0","2.6.1","2.6.2","2.7.0","2.8.0","2.8.1","2.8.2","2.9.0","3.0.0","3.1.0","3.1.0.rc1","3.1.0rc1","3.1.1","3.1.2","3.2.0","3.3.0","3.3.1","3.3.2","3.3.3","3.4.0","3.4.1","3.4.2","4.0.0","4.1.0","4.1.1","4.2.0","4.2.1","4.3.0","5.0.0","5.1.0","5.2.0","5.3.0","5.4.0","5.4.0.dev0","5.4.1","6.0.0","6.1.0","6.2.0","6.2.1"],"fixed":["6.2.2"],"provider":"osv","source":"GHSA-vcqg-3p29-xw73","relation":"self"},{"ecosystem":"PyPI","package":"pillow","purl":"pkg:pypi/pillow","ranges":[{"type":"GIT","repo":"https://github.com/python-pillow/Pillow","events":[{"introduced":"0"},{"fixed":"4e2def2539ec13e53a82e06c4b3daf00454100c4"}]},{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.2"}]}],"versions":["1.0","1.1","1.2","1.3","1.4","1.5","1.6","1.7.0","1.7.1","1.7.2","1.7.3","1.7.4","1.7.5","1.7.6","1.7.7","1.7.8","2.0.0","2.1.0","2.2.0","2.2.1","2.2.2","2.3.0","2.3.1","2.3.2","2.4.0","2.5.0","2.5.1","2.5.2","2.5.3","2.6.0","2.6.1","2.6.2","2.7.0","2.8.0","2.8.1","2.8.2","2.9.0","3.0.0","3.1.0rc1","3.1.0.rc1","3.1.0","3.1.1","3.1.2","3.2.0","3.3.0","3.3.1","3.3.2","3.3.3","3.4.0","3.4.1","3.4.2","4.0.0","4.1.0","4.1.1","4.2.0","4.2.1","4.3.0","5.0.0","5.1.0","5.2.0","5.3.0","5.4.0.dev0","5.4.0","5.4.1","6.0.0","6.1.0","6.2.0","6.2.1"],"fixed":["6.2.2"],"provider":"osv","source":"PYSEC-2020-81","relation":"self"}],"product_status":[{"vendor":"SUSE","product":"HPE Helion OpenStack 8","cpe":"cpe:/o:suse:hpe-helion-openstack:8","status":"not_affected","packages":["python-Pillow"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5310"},{"vendor":"SUSE","product":"HPE Helion OpenStack Cloud 8","status":"not_affected","packages":["python-Pillow"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5310"},{"vendor":"SUSE","product":"SUSE Enterprise Storage 5","cpe":"cpe:/o:suse:ses:5","status":"not_affected","packages":["python-Pillow"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5310"},{"vendor":"SUSE","product":"SUSE OpenStack Cloud 8","cpe":"cpe:/o:suse:suse-openstack-cloud:8","status":"not_affected","packages":["python-Pillow"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5310"},{"vendor":"SUSE","product":"SUSE OpenStack Cloud 9","cpe":"cpe:/o:suse:suse-openstack-cloud:9","status":"not_affected","packages":["python-Pillow"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5310"},{"vendor":"SUSE","product":"SUSE OpenStack Cloud Crowbar 8","cpe":"cpe:/o:suse:suse-openstack-cloud-crowbar:8","status":"not_affected","packages":["python-Pillow"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5310"},{"vendor":"SUSE","product":"SUSE OpenStack Cloud Crowbar 9","cpe":"cpe:/o:suse:suse-openstack-cloud-crowbar:9","status":"not_affected","packages":["python-Pillow"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5310"},{"vendor":"Red Hat","product":"Quay v3","cpe":"cpe:/a:redhat:quay:3::el8","status":"fixed","packages":["quay/clair-rhel8","quay/quay-bridge-operator-bundle","quay/quay-bridge-operator-rhel8","quay/quay-builder-qemu-rhcos-rhel8","quay/quay-builder-rhel8","quay/quay-container-security-operator-bundle","quay/quay-container-security-operator-rhel8","quay/quay-openshift-bridge-rhel8-operator","quay/quay-operator-bundle","quay/quay-operator-rhel8","quay/quay-rhel8"],"package_count":11,"fixed":[],"advisories":["RHSA-2021:0420"],"provider":"redhat-vex","source":"CVE-2020-5310"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 5","cpe":"cpe:/o:redhat:rhel_els:5","status":"not_affected","packages":["python-imaging"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2020-5310"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 6","cpe":"cpe:/o:redhat:rhel_els:6","status":"not_affected","packages":["python-imaging","python-imaging-devel","python-imaging-sane","python-imaging-tk"],"package_count":4,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2020-5310"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","cpe":"cpe:/o:redhat:rhel_els:7","status":"not_affected","packages":["python-pillow","python-pillow-devel","python-pillow-doc","python-pillow-qt","python-pillow-sane","python-pillow-tk"],"package_count":6,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2020-5310"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","cpe":"cpe:/a:redhat:enterprise_linux:8","status":"not_affected","packages":["python-pillow","python3-pillow","python3-pillow-devel","python3-pillow-doc","python3-pillow-tk"],"package_count":5,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2020-5310"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2020-5310","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2020-5310","license":"CC-BY-4.0","published_at":"2020-01-03T00:52:55Z","modified_at":"2024-08-04T08:22:09.147Z","summary":"libImaging/TiffDecode.c in Pillow before 6.2.2 has a TIFF decoding integer overflow, related to realloc.","details":"libImaging/TiffDecode.c in Pillow before 6.2.2 has a TIFF decoding integer overflow, related to realloc.","severity":[],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://pillow.readthedocs.io/en/stable/releasenotes/6.2.2.html"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/4e2def2539ec13e53a82e06c4b3daf00454100c4"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2MMU3WT2X64GS5WHDPKKC2WZA7UIIQ3A/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/4272-1/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3DUMIBUYGJRAVJCTFUWBRLVQKOUTVX5P/"}]},{"provider":"csaf-suse","source_id":"CVE-2020-5310","relation":"self","url":"https://www.suse.com/security/cve/CVE-2020-5310/","license":"TLP:CLEAR, mirroring permitted","published_at":"2023-02-15T04:03:20Z","modified_at":"2025-04-25T05:47:08Z","summary":"SUSE CVE CVE-2020-5310","details":"SUSE CVE-2020-5310\n\nlibImaging/TiffDecode.c in Pillow before 6.2.2 has a TIFF decoding integer overflow, related to realloc.","severity":[{"type":"SUSE","score":"important","source":"CVE-2020-5310"}],"affected":[],"product_status":[{"vendor":"SUSE","product":"HPE Helion OpenStack 8","cpe":"cpe:/o:suse:hpe-helion-openstack:8","status":"not_affected","packages":["python-Pillow"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5310"},{"vendor":"SUSE","product":"HPE Helion OpenStack Cloud 8","status":"not_affected","packages":["python-Pillow"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5310"},{"vendor":"SUSE","product":"SUSE Enterprise Storage 5","cpe":"cpe:/o:suse:ses:5","status":"not_affected","packages":["python-Pillow"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5310"},{"vendor":"SUSE","product":"SUSE OpenStack Cloud 8","cpe":"cpe:/o:suse:suse-openstack-cloud:8","status":"not_affected","packages":["python-Pillow"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5310"},{"vendor":"SUSE","product":"SUSE OpenStack Cloud 9","cpe":"cpe:/o:suse:suse-openstack-cloud:9","status":"not_affected","packages":["python-Pillow"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5310"},{"vendor":"SUSE","product":"SUSE OpenStack Cloud Crowbar 8","cpe":"cpe:/o:suse:suse-openstack-cloud-crowbar:8","status":"not_affected","packages":["python-Pillow"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5310"},{"vendor":"SUSE","product":"SUSE OpenStack Cloud Crowbar 9","cpe":"cpe:/o:suse:suse-openstack-cloud-crowbar:9","status":"not_affected","packages":["python-Pillow"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2020-5310"}],"references":[{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2020-5310"},{"type":"WEB","url":"https://www.suse.com/support/security/rating/"},{"type":"WEB","url":"https://bugzilla.suse.com/1160150"}]},{"provider":"nvd","source_id":"CVE-2020-5310","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-5310","severity":[],"affected":[{"ecosystem":"NVD","package":"canonical:ubuntu_linux","versions":["14.04","16.04","18.04","19.10"],"provider":"nvd","source":"CVE-2020-5310","relation":"self"},{"ecosystem":"NVD","package":"fedoraproject:fedora","versions":["30","31"],"provider":"nvd","source":"CVE-2020-5310","relation":"self"},{"ecosystem":"NVD","package":"python:pillow","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.2"}]}],"fixed":["6.2.2"],"provider":"nvd","source":"CVE-2020-5310","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"ALPINE-CVE-2020-5310","relation":"self","url":"https://osv.dev/vulnerability/ALPINE-CVE-2020-5310","published_at":"2020-01-03T01:15:11.087Z","modified_at":"2026-11-03T06:32:26.136439Z","details":"libImaging/TiffDecode.c in Pillow before 6.2.2 has a TIFF decoding integer overflow, related to realloc.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"ALPINE-CVE-2020-5310"}],"affected":[{"ecosystem":"Alpine:v3.12","package":"py3-pillow","purl":"pkg:apk/alpine/py3-pillow?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.2-r0"}]}],"fixed":["6.2.2-r0"],"provider":"osv","source":"ALPINE-CVE-2020-5310","relation":"self"},{"ecosystem":"Alpine:v3.13","package":"py3-pillow","purl":"pkg:apk/alpine/py3-pillow?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.2-r0"}]}],"fixed":["6.2.2-r0"],"provider":"osv","source":"ALPINE-CVE-2020-5310","relation":"self"},{"ecosystem":"Alpine:v3.14","package":"py3-pillow","purl":"pkg:apk/alpine/py3-pillow?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.2-r0"}]}],"fixed":["6.2.2-r0"],"provider":"osv","source":"ALPINE-CVE-2020-5310","relation":"self"},{"ecosystem":"Alpine:v3.15","package":"py3-pillow","purl":"pkg:apk/alpine/py3-pillow?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.2-r0"}]}],"fixed":["6.2.2-r0"],"provider":"osv","source":"ALPINE-CVE-2020-5310","relation":"self"},{"ecosystem":"Alpine:v3.16","package":"py3-pillow","purl":"pkg:apk/alpine/py3-pillow?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.2-r0"}]}],"fixed":["6.2.2-r0"],"provider":"osv","source":"ALPINE-CVE-2020-5310","relation":"self"},{"ecosystem":"Alpine:v3.17","package":"py3-pillow","purl":"pkg:apk/alpine/py3-pillow?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.2-r0"}]}],"fixed":["6.2.2-r0"],"provider":"osv","source":"ALPINE-CVE-2020-5310","relation":"self"},{"ecosystem":"Alpine:v3.18","package":"py3-pillow","purl":"pkg:apk/alpine/py3-pillow?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.2-r0"}]}],"fixed":["6.2.2-r0"],"provider":"osv","source":"ALPINE-CVE-2020-5310","relation":"self"},{"ecosystem":"Alpine:v3.19","package":"py3-pillow","purl":"pkg:apk/alpine/py3-pillow?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.2-r0"}]}],"fixed":["6.2.2-r0"],"provider":"osv","source":"ALPINE-CVE-2020-5310","relation":"self"},{"ecosystem":"Alpine:v3.20","package":"py3-pillow","purl":"pkg:apk/alpine/py3-pillow?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.2-r0"}]}],"fixed":["6.2.2-r0"],"provider":"osv","source":"ALPINE-CVE-2020-5310","relation":"self"},{"ecosystem":"Alpine:v3.21","package":"py3-pillow","purl":"pkg:apk/alpine/py3-pillow?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.2-r0"}]}],"fixed":["6.2.2-r0"],"provider":"osv","source":"ALPINE-CVE-2020-5310","relation":"self"},{"ecosystem":"Alpine:v3.22","package":"py3-pillow","purl":"pkg:apk/alpine/py3-pillow?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.2-r0"}]}],"fixed":["6.2.2-r0"],"provider":"osv","source":"ALPINE-CVE-2020-5310","relation":"self"},{"ecosystem":"Alpine:v3.23","package":"py3-pillow","purl":"pkg:apk/alpine/py3-pillow?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.2-r0"}]}],"fixed":["6.2.2-r0"],"provider":"osv","source":"ALPINE-CVE-2020-5310","relation":"self"},{"ecosystem":"Alpine:v3.24","package":"py3-pillow","purl":"pkg:apk/alpine/py3-pillow?arch=source","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.2-r0"}]}],"fixed":["6.2.2-r0"],"provider":"osv","source":"ALPINE-CVE-2020-5310","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2020-5310"}]},{"provider":"osv","source_id":"BIT-pillow-2020-5310","relation":"self","url":"https://osv.dev/vulnerability/BIT-pillow-2020-5310","license":"Apache-2.0","published_at":"2024-03-06T11:06:08.009Z","modified_at":"2026-09-08T08:47:35.897808Z","details":"libImaging/TiffDecode.c in Pillow before 6.2.2 has a TIFF decoding integer overflow, related to realloc.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"BIT-pillow-2020-5310"}],"affected":[{"ecosystem":"Bitnami","package":"pillow","purl":"pkg:bitnami/pillow","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"6.2.2"}]}],"fixed":["6.2.2"],"provider":"osv","source":"BIT-pillow-2020-5310","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://github.com/python-pillow/Pillow/commit/4e2def2539ec13e53a82e06c4b3daf00454100c4"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2MMU3WT2X64GS5WHDPKKC2WZA7UIIQ3A/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3DUMIBUYGJRAVJCTFUWBRLVQKOUTVX5P/"},{"type":"ADVISORY","url":"https://pillow.readthedocs.io/en/stable/releasenotes/6.2.2.html"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/4272-1/"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-5310"}]},{"provider":"osv","source_id":"DEBIAN-CVE-2020-5310","relation":"self","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2020-5310","published_at":"2020-01-03T01:15:11.087Z","modified_at":"2026-10-26T12:01:53.581097Z","details":"libImaging/TiffDecode.c in Pillow before 6.2.2 has a TIFF decoding integer overflow, related to realloc.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"DEBIAN-CVE-2020-5310"}],"affected":[{"ecosystem":"Debian:12","package":"pillow","purl":"pkg:deb/debian/pillow?arch=source&distro=bookworm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.0.0-1"}]}],"fixed":["7.0.0-1"],"provider":"osv","source":"DEBIAN-CVE-2020-5310","relation":"self"},{"ecosystem":"Debian:13","package":"pillow","purl":"pkg:deb/debian/pillow?arch=source&distro=trixie","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.0.0-1"}]}],"fixed":["7.0.0-1"],"provider":"osv","source":"DEBIAN-CVE-2020-5310","relation":"self"},{"ecosystem":"Debian:14","package":"pillow","purl":"pkg:deb/debian/pillow?arch=source&distro=forky","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.0.0-1"}]}],"fixed":["7.0.0-1"],"provider":"osv","source":"DEBIAN-CVE-2020-5310","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2020-5310"}]},{"provider":"osv","source_id":"GHSA-vcqg-3p29-xw73","relation":"self","url":"https://osv.dev/vulnerability/GHSA-vcqg-3p29-xw73","license":"CC-BY-4.0","published_at":"2021-11-03T18:04:41Z","modified_at":"2024-10-08T13:22:46.929242Z","summary":"Integer overflow in Pillow","details":"`libImaging/TiffDecode.c` in Pillow before 6.2.2 has a TIFF decoding integer overflow, related to realloc.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"GHSA-vcqg-3p29-xw73"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","source":"GHSA-vcqg-3p29-xw73"}],"affected":[{"ecosystem":"PyPI","package":"pillow","purl":"pkg:pypi/pillow","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.2"}]}],"versions":["1.0","1.1","1.2","1.3","1.4","1.5","1.6","1.7.0","1.7.1","1.7.2","1.7.3","1.7.4","1.7.5","1.7.6","1.7.7","1.7.8","2.0.0","2.1.0","2.2.0","2.2.1","2.2.2","2.3.0","2.3.1","2.3.2","2.4.0","2.5.0","2.5.1","2.5.2","2.5.3","2.6.0","2.6.1","2.6.2","2.7.0","2.8.0","2.8.1","2.8.2","2.9.0","3.0.0","3.1.0","3.1.0.rc1","3.1.0rc1","3.1.1","3.1.2","3.2.0","3.3.0","3.3.1","3.3.2","3.3.3","3.4.0","3.4.1","3.4.2","4.0.0","4.1.0","4.1.1","4.2.0","4.2.1","4.3.0","5.0.0","5.1.0","5.2.0","5.3.0","5.4.0","5.4.0.dev0","5.4.1","6.0.0","6.1.0","6.2.0","6.2.1"],"fixed":["6.2.2"],"provider":"osv","source":"GHSA-vcqg-3p29-xw73","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-5310"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/4e2def2539ec13e53a82e06c4b3daf00454100c4"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-vcqg-3p29-xw73"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2020-81.yaml"},{"type":"WEB","url":"https://github.com/pypa/advisory-db/blob/7872b0a91b4d980f749e6d75a81f8cc1af32829f/vulns/pillow/PYSEC-2020-81.yaml"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2MMU3WT2X64GS5WHDPKKC2WZA7UIIQ3A"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3DUMIBUYGJRAVJCTFUWBRLVQKOUTVX5P"},{"type":"WEB","url":"https://pillow.readthedocs.io/en/stable/releasenotes/6.2.2.html"},{"type":"WEB","url":"https://usn.ubuntu.com/4272-1"}]},{"provider":"osv","source_id":"PYSEC-2020-81","relation":"self","url":"https://osv.dev/vulnerability/PYSEC-2020-81","license":"CC-BY-4.0","published_at":"2020-01-03T01:15:00Z","modified_at":"2023-12-06T01:00:36.189371Z","details":"libImaging/TiffDecode.c in Pillow before 6.2.2 has a TIFF decoding integer overflow, related to realloc.","severity":[],"affected":[{"ecosystem":"PyPI","package":"pillow","purl":"pkg:pypi/pillow","ranges":[{"type":"GIT","repo":"https://github.com/python-pillow/Pillow","events":[{"introduced":"0"},{"fixed":"4e2def2539ec13e53a82e06c4b3daf00454100c4"}]},{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.2"}]}],"versions":["1.0","1.1","1.2","1.3","1.4","1.5","1.6","1.7.0","1.7.1","1.7.2","1.7.3","1.7.4","1.7.5","1.7.6","1.7.7","1.7.8","2.0.0","2.1.0","2.2.0","2.2.1","2.2.2","2.3.0","2.3.1","2.3.2","2.4.0","2.5.0","2.5.1","2.5.2","2.5.3","2.6.0","2.6.1","2.6.2","2.7.0","2.8.0","2.8.1","2.8.2","2.9.0","3.0.0","3.1.0rc1","3.1.0.rc1","3.1.0","3.1.1","3.1.2","3.2.0","3.3.0","3.3.1","3.3.2","3.3.3","3.4.0","3.4.1","3.4.2","4.0.0","4.1.0","4.1.1","4.2.0","4.2.1","4.3.0","5.0.0","5.1.0","5.2.0","5.3.0","5.4.0.dev0","5.4.0","5.4.1","6.0.0","6.1.0","6.2.0","6.2.1"],"fixed":["6.2.2"],"provider":"osv","source":"PYSEC-2020-81","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://pillow.readthedocs.io/en/stable/releasenotes/6.2.2.html"},{"type":"FIX","url":"https://github.com/python-pillow/Pillow/commit/4e2def2539ec13e53a82e06c4b3daf00454100c4"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2MMU3WT2X64GS5WHDPKKC2WZA7UIIQ3A/"},{"type":"WEB","url":"https://usn.ubuntu.com/4272-1/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3DUMIBUYGJRAVJCTFUWBRLVQKOUTVX5P/"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-vcqg-3p29-xw73"}]},{"provider":"redhat-vex","source_id":"CVE-2020-5310","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2020-5310","license":"CC-BY-4.0","published_at":"2020-01-03T00:00:00Z","modified_at":"2026-02-02T07:28:15.491516Z","summary":"python-pillow: Integer overflow leading to buffer overflow in ImagingLibTiffDecode","details":"libImaging/TiffDecode.c in Pillow before 6.2.2 has a TIFF decoding integer overflow, related to realloc.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"CVE-2020-5310"},{"type":"Red Hat","score":"Important","source":"CVE-2020-5310"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Quay v3","cpe":"cpe:/a:redhat:quay:3::el8","status":"fixed","packages":["quay/clair-rhel8","quay/quay-bridge-operator-bundle","quay/quay-bridge-operator-rhel8","quay/quay-builder-qemu-rhcos-rhel8","quay/quay-builder-rhel8","quay/quay-container-security-operator-bundle","quay/quay-container-security-operator-rhel8","quay/quay-openshift-bridge-rhel8-operator","quay/quay-operator-bundle","quay/quay-operator-rhel8","quay/quay-rhel8"],"package_count":11,"fixed":[],"advisories":["RHSA-2021:0420"],"provider":"redhat-vex","source":"CVE-2020-5310"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 5","cpe":"cpe:/o:redhat:rhel_els:5","status":"not_affected","packages":["python-imaging"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2020-5310"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 6","cpe":"cpe:/o:redhat:rhel_els:6","status":"not_affected","packages":["python-imaging","python-imaging-devel","python-imaging-sane","python-imaging-tk"],"package_count":4,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2020-5310"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","cpe":"cpe:/o:redhat:rhel_els:7","status":"not_affected","packages":["python-pillow","python-pillow-devel","python-pillow-doc","python-pillow-qt","python-pillow-sane","python-pillow-tk"],"package_count":6,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2020-5310"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","cpe":"cpe:/a:redhat:enterprise_linux:8","status":"not_affected","packages":["python-pillow","python3-pillow","python3-pillow-devel","python3-pillow-doc","python3-pillow-tk"],"package_count":5,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2020-5310"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2020/cve-2020-5310.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2020-5310"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1789538"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2020-5310"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-5310"}]}],"references":[{"type":"WEB","url":"https://pillow.readthedocs.io/en/stable/releasenotes/6.2.2.html"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/4e2def2539ec13e53a82e06c4b3daf00454100c4"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2MMU3WT2X64GS5WHDPKKC2WZA7UIIQ3A/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/4272-1/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3DUMIBUYGJRAVJCTFUWBRLVQKOUTVX5P/"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2020-5310"},{"type":"WEB","url":"https://www.suse.com/support/security/rating/"},{"type":"WEB","url":"https://bugzilla.suse.com/1160150"},{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2020-5310"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-5310"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2020-5310"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-vcqg-3p29-xw73"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2020-81.yaml"},{"type":"WEB","url":"https://github.com/pypa/advisory-db/blob/7872b0a91b4d980f749e6d75a81f8cc1af32829f/vulns/pillow/PYSEC-2020-81.yaml"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2MMU3WT2X64GS5WHDPKKC2WZA7UIIQ3A"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3DUMIBUYGJRAVJCTFUWBRLVQKOUTVX5P"},{"type":"WEB","url":"https://usn.ubuntu.com/4272-1"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2MMU3WT2X64GS5WHDPKKC2WZA7UIIQ3A/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3DUMIBUYGJRAVJCTFUWBRLVQKOUTVX5P/"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2020/cve-2020-5310.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2020-5310"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1789538"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2020-5310"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2020-5310","url":"https://www.cve.org/CVERecord?id=CVE-2020-5310","license":"CC-BY-4.0","modified_at":"2024-08-04T08:22:09.147Z","relation":"self"},{"provider":"csaf-suse","source_id":"CVE-2020-5310","url":"https://www.suse.com/security/cve/CVE-2020-5310/","license":"TLP:CLEAR, mirroring permitted","modified_at":"2025-04-25T05:47:08Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2020-5310","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-5310","relation":"self"},{"provider":"osv","source_id":"ALPINE-CVE-2020-5310","url":"https://osv.dev/vulnerability/ALPINE-CVE-2020-5310","modified_at":"2026-11-03T06:32:26.136439Z","relation":"self"},{"provider":"osv","source_id":"BIT-pillow-2020-5310","url":"https://osv.dev/vulnerability/BIT-pillow-2020-5310","license":"Apache-2.0","modified_at":"2026-09-08T08:47:35.897808Z","relation":"self"},{"provider":"osv","source_id":"DEBIAN-CVE-2020-5310","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2020-5310","modified_at":"2026-10-26T12:01:53.581097Z","relation":"self"},{"provider":"osv","source_id":"GHSA-vcqg-3p29-xw73","url":"https://osv.dev/vulnerability/GHSA-vcqg-3p29-xw73","license":"CC-BY-4.0","modified_at":"2024-10-08T13:22:46.929242Z","relation":"self"},{"provider":"osv","source_id":"PYSEC-2020-81","url":"https://osv.dev/vulnerability/PYSEC-2020-81","license":"CC-BY-4.0","modified_at":"2023-12-06T01:00:36.189371Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2020-5310","url":"https://access.redhat.com/security/cve/CVE-2020-5310","license":"CC-BY-4.0","modified_at":"2026-02-02T07:28:15.491516Z","relation":"self"}]}
