{"id":"USN-4763-1","summary":"pillow vulnerabilities","details":"It was discovered that Pillow incorrectly handled certain Tiff image files.\nIf a user or automated system were tricked into opening a specially-crafted\nTiff file, a remote attacker could cause Pillow to crash, resulting in a\ndenial of service, or possibly execute arbitrary code. This issue only\naffected Ubuntu 20.04 LTS and Ubuntu 20.10. (CVE-2021-25289,\nCVE-2021-25291)\n\nIt was discovered that Pillow incorrectly handled certain Tiff image files.\nIf a user or automated system were tricked into opening a specially-crafted\nTiff file, a remote attacker could cause Pillow to crash, resulting in a\ndenial of service, or possibly execute arbitrary code. (CVE-2021-25290)\n\nIt was discovered that Pillow incorrectly handled certain PDF files. If a\nuser or automated system were tricked into opening a specially-crafted\nPDF file, a remote attacker could cause Pillow to hang, resulting in a\ndenial of service. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04\nLTS, and Ubuntu 20.10. (CVE-2021-25292)\n\nIt was discovered that Pillow incorrectly handled certain SGI image files.\nIf a user or automated system were tricked into opening a specially-crafted\nSGI file, a remote attacker could possibly cause Pillow to crash,\nresulting in a denial of service. This issue only affected Ubuntu 18.04\nLTS, Ubuntu 20.04 LTS, and Ubuntu 20.10. (CVE-2021-25293)\n\nJiayi Lin, Luke Shaffer, Xinran Xie, and Akshay Ajayan discovered that\nPillow incorrectly handled certain BLP files. If a user or automated system\nwere tricked into opening a specially-crafted BLP file, a remote attacker\ncould possibly cause Pillow to consume resources, resulting in a denial of\nservice. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and\nUbuntu 20.10. (CVE-2021-27921)\n\nJiayi Lin, Luke Shaffer, Xinran Xie, and Akshay Ajayan discovered that\nPillow incorrectly handled certain ICNS files. If a user or automated\nsystem were tricked into opening a specially-crafted ICNS file, a remote\nattacker could possibly cause Pillow to consume resources, resulting in a\ndenial of service. (CVE-2021-27922)\n\nJiayi Lin, Luke Shaffer, Xinran Xie, and Akshay Ajayan discovered that\nPillow incorrectly handled certain ICO files. If a user or automated\nsystem were tricked into opening a specially-crafted ICO file, a remote\nattacker could possibly cause Pillow to consume resources, resulting in a\ndenial of service. (CVE-2021-27922)\n","modified":"2026-04-27T15:48:59.343681Z","published":"2021-03-11T14:56:28Z","related":["UBUNTU-CVE-2021-25289","UBUNTU-CVE-2021-25290","UBUNTU-CVE-2021-25291","UBUNTU-CVE-2021-25292","UBUNTU-CVE-2021-25293","UBUNTU-CVE-2021-27921","UBUNTU-CVE-2021-27922","UBUNTU-CVE-2021-27923"],"upstream":["CVE-2021-25289","CVE-2021-25290","CVE-2021-25291","CVE-2021-25292","CVE-2021-25293","CVE-2021-27921","CVE-2021-27922","CVE-2021-27923","UBUNTU-CVE-2021-25289","UBUNTU-CVE-2021-25290","UBUNTU-CVE-2021-25291","UBUNTU-CVE-2021-25292","UBUNTU-CVE-2021-25293","UBUNTU-CVE-2021-27921","UBUNTU-CVE-2021-27922","UBUNTU-CVE-2021-27923"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4763-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-25289"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-25290"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-25291"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-25292"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-25293"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-27921"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-27922"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-27923"}],"affected":[{"package":{"name":"pillow","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/pillow@3.1.2-0ubuntu1.6?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.2-0ubuntu1.6"}]}],"versions":["2.9.0-1","3.0.0-1","3.0.0-1build1","3.1.0-1","3.1.1-1","3.1.2-0ubuntu1","3.1.2-0ubuntu1.1","3.1.2-0ubuntu1.3","3.1.2-0ubuntu1.4","3.1.2-0ubuntu1.5"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"python-imaging","binary_version":"3.1.2-0ubuntu1.6"},{"binary_name":"python-pil","binary_version":"3.1.2-0ubuntu1.6"},{"binary_name":"python-pil.imagetk","binary_version":"3.1.2-0ubuntu1.6"},{"binary_name":"python3-pil","binary_version":"3.1.2-0ubuntu1.6"},{"binary_name":"python3-pil.imagetk","binary_version":"3.1.2-0ubuntu1.6"}]},"database_specific":{"cves_map":{"cves":[{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2021-25290"},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2021-27922"},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2021-27923"}],"ecosystem":"Ubuntu:16.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4763-1.json"}},{"package":{"name":"pillow","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/pillow@5.1.0-1ubuntu0.5?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.1.0-1ubuntu0.5"}]}],"versions":["4.1.1-3build2","4.3.0-2ubuntu1","5.0.0-1","5.1.0-1","5.1.0-1ubuntu0.2","5.1.0-1ubuntu0.3","5.1.0-1ubuntu0.4"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"python-pil","binary_version":"5.1.0-1ubuntu0.5"},{"binary_name":"python-pil.imagetk","binary_version":"5.1.0-1ubuntu0.5"},{"binary_name":"python3-pil","binary_version":"5.1.0-1ubuntu0.5"},{"binary_name":"python3-pil.imagetk","binary_version":"5.1.0-1ubuntu0.5"}]},"database_specific":{"cves_map":{"cves":[{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2021-25290"},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2021-25292"},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2021-25293"},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2021-27921"},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2021-27922"},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2021-27923"}],"ecosystem":"Ubuntu:18.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4763-1.json"}},{"package":{"name":"pillow","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/pillow@7.0.0-4ubuntu0.3?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.0.0-4ubuntu0.3"}]}],"versions":["6.1.0-1","6.1.0-1build1","6.2.1-2","7.0.0-4","7.0.0-4build1","7.0.0-4ubuntu0.1","7.0.0-4ubuntu0.2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"python3-pil","binary_version":"7.0.0-4ubuntu0.3"},{"binary_name":"python3-pil.imagetk","binary_version":"7.0.0-4ubuntu0.3"}]},"database_specific":{"cves_map":{"cves":[{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2021-25289"},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2021-25290"},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2021-25291"},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2021-25292"},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2021-25293"},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2021-27921"},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2021-27922"},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2021-27923"}],"ecosystem":"Ubuntu:20.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4763-1.json"}}],"schema_version":"1.7.5"}