Search

Find a vulnerability

Search criteria

    Related vulnerabilities

    USN-4272-1 (UBUNTU-CVE-2019-16865)

    Vulnerability from osv_ubuntu – Published: 2020-02-06 15:14 – Updated: 2026-11-24 09:37 – Source website
    VLAI
    Summary
    pillow vulnerabilities
    Details

    It was discovered that Pillow incorrectly handled certain images. An attacker could possibly use this issue to cause a denial of service. (CVE-2019-16865, CVE-2019-19911)

    It was discovered that Pillow incorrectly handled certain images. An attacker could possibly use this issue to execute arbitrary code. (CVE-2020-5312)

    It was discovered that Pillow incorrectly handled certain TIFF images. An attacker could possibly use this issue to cause a crash. This issue only affected Ubuntu 19.10. (CVE-2020-5310)

    It was discovered that Pillow incorrectly handled certain SGI images. An attacker could possibly use this issue to execute arbitrary code or cause a crash. This issue only affected Ubuntu 18.04 and Ubuntu 19.10. (CVE-2020-5311)

    It was discovered that Pillow incorrectly handled certain PCX images. An attackter could possibly use this issue to execute arbitrary code or cause a crash. (CVE-2020-5312)

    It was discovered that Pillow incorrectly handled certain Flip images. An attacker could possibly use this issue to execute arbitrary code or cause a crash. (CVE-2020-5313)

    Impacted products
    Ecosystem Package Version
    Ubuntu:Pro:14.04:LTS pillow
    pkg:deb/ubuntu/pillow@2.3.0-1ubuntu3.4+esm1?arch=source&distro=trusty/esm
    Affected: < 2.3.0-1ubuntu3.4+esm1 (ecosystem)
    2.2.1-1ubuntu22.2.1-2ubuntu12.2.1-3ubuntu22.2.1-3ubuntu32.2.1-3ubuntu42.2.1-3ubuntu62.3.0-1ubuntu12.3.0-1ubuntu22.3.0-1ubuntu32.3.0-1ubuntu3.2 and 2 more (see JSON)
    Ubuntu:16.04:LTS pillow
    pkg:deb/ubuntu/pillow@3.1.2-0ubuntu1.3?arch=source&distro=xenial
    Affected: < 3.1.2-0ubuntu1.3 (ecosystem)
    2.9.0-13.0.0-13.0.0-1build13.1.0-13.1.1-13.1.2-0ubuntu13.1.2-0ubuntu1.1
    Ubuntu:18.04:LTS pillow
    pkg:deb/ubuntu/pillow@5.1.0-1ubuntu0.2?arch=source&distro=bionic
    Affected: < 5.1.0-1ubuntu0.2 (ecosystem)
    4.1.1-3build24.3.0-2ubuntu15.0.0-15.1.0-1

    {
      "affected": [
        {
          "database_specific": {
            "cves_map": {
              "cves": [
                {
                  "id": "CVE-2019-16865",
                  "severity": [
                    {
                      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                      "source": "NVD",
                      "type": "CVSS_V3"
                    },
                    {
                      "score": "low",
                      "source": "SELF",
                      "type": "Ubuntu"
                    }
                  ]
                },
                {
                  "id": "CVE-2019-19911",
                  "severity": [
                    {
                      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                      "source": "NVD",
                      "type": "CVSS_V3"
                    },
                    {
                      "score": "low",
                      "source": "SELF",
                      "type": "Ubuntu"
                    }
                  ]
                },
                {
                  "id": "CVE-2020-5312",
                  "severity": [
                    {
                      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
                      "source": "NVD",
                      "type": "CVSS_V3"
                    },
                    {
                      "score": "medium",
                      "source": "SELF",
                      "type": "Ubuntu"
                    }
                  ]
                },
                {
                  "id": "CVE-2020-5313",
                  "severity": [
                    {
                      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H",
                      "source": "NVD",
                      "type": "CVSS_V3"
                    },
                    {
                      "score": "medium",
                      "source": "SELF",
                      "type": "Ubuntu"
                    }
                  ]
                }
              ],
              "ecosystem": "Ubuntu:Pro:14.04:LTS"
            }
          },
          "ecosystem_specific": {
            "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
            "binaries": [
              {
                "binary_name": "python-imaging",
                "binary_version": "2.3.0-1ubuntu3.4+esm1"
              },
              {
                "binary_name": "python-imaging-compat",
                "binary_version": "2.3.0-1ubuntu3.4+esm1"
              },
              {
                "binary_name": "python-imaging-sane",
                "binary_version": "2.3.0-1ubuntu3.4+esm1"
              },
              {
                "binary_name": "python-imaging-tk",
                "binary_version": "2.3.0-1ubuntu3.4+esm1"
              },
              {
                "binary_name": "python-pil",
                "binary_version": "2.3.0-1ubuntu3.4+esm1"
              },
              {
                "binary_name": "python-pil.imagetk",
                "binary_version": "2.3.0-1ubuntu3.4+esm1"
              },
              {
                "binary_name": "python-sane",
                "binary_version": "2.3.0-1ubuntu3.4+esm1"
              },
              {
                "binary_name": "python3-imaging",
                "binary_version": "2.3.0-1ubuntu3.4+esm1"
              },
              {
                "binary_name": "python3-imaging-sane",
                "binary_version": "2.3.0-1ubuntu3.4+esm1"
              },
              {
                "binary_name": "python3-imaging-tk",
                "binary_version": "2.3.0-1ubuntu3.4+esm1"
              },
              {
                "binary_name": "python3-pil",
                "binary_version": "2.3.0-1ubuntu3.4+esm1"
              },
              {
                "binary_name": "python3-pil.imagetk",
                "binary_version": "2.3.0-1ubuntu3.4+esm1"
              },
              {
                "binary_name": "python3-sane",
                "binary_version": "2.3.0-1ubuntu3.4+esm1"
              }
            ]
          },
          "package": {
            "ecosystem": "Ubuntu:Pro:14.04:LTS",
            "name": "pillow",
            "purl": "pkg:deb/ubuntu/pillow@2.3.0-1ubuntu3.4+esm1?arch=source\u0026distro=trusty/esm"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.3.0-1ubuntu3.4+esm1"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "versions": [
            "2.2.1-1ubuntu2",
            "2.2.1-2ubuntu1",
            "2.2.1-3ubuntu2",
            "2.2.1-3ubuntu3",
            "2.2.1-3ubuntu4",
            "2.2.1-3ubuntu6",
            "2.3.0-1ubuntu1",
            "2.3.0-1ubuntu2",
            "2.3.0-1ubuntu3",
            "2.3.0-1ubuntu3.2",
            "2.3.0-1ubuntu3.3",
            "2.3.0-1ubuntu3.4"
          ]
        },
        {
          "database_specific": {
            "cves_map": {
              "cves": [
                {
                  "id": "CVE-2019-16865",
                  "severity": [
                    {
                      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                      "source": "NVD",
                      "type": "CVSS_V3"
                    },
                    {
                      "score": "low",
                      "source": "SELF",
                      "type": "Ubuntu"
                    }
                  ]
                },
                {
                  "id": "CVE-2019-19911",
                  "severity": [
                    {
                      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                      "source": "NVD",
                      "type": "CVSS_V3"
                    },
                    {
                      "score": "low",
                      "source": "SELF",
                      "type": "Ubuntu"
                    }
                  ]
                },
                {
                  "id": "CVE-2020-5312",
                  "severity": [
                    {
                      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
                      "source": "NVD",
                      "type": "CVSS_V3"
                    },
                    {
                      "score": "medium",
                      "source": "SELF",
                      "type": "Ubuntu"
                    }
                  ]
                },
                {
                  "id": "CVE-2020-5313",
                  "severity": [
                    {
                      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H",
                      "source": "NVD",
                      "type": "CVSS_V3"
                    },
                    {
                      "score": "medium",
                      "source": "SELF",
                      "type": "Ubuntu"
                    }
                  ]
                }
              ],
              "ecosystem": "Ubuntu:16.04:LTS"
            }
          },
          "ecosystem_specific": {
            "availability": "No subscription required",
            "binaries": [
              {
                "binary_name": "python-imaging",
                "binary_version": "3.1.2-0ubuntu1.3"
              },
              {
                "binary_name": "python-pil",
                "binary_version": "3.1.2-0ubuntu1.3"
              },
              {
                "binary_name": "python-pil.imagetk",
                "binary_version": "3.1.2-0ubuntu1.3"
              },
              {
                "binary_name": "python3-pil",
                "binary_version": "3.1.2-0ubuntu1.3"
              },
              {
                "binary_name": "python3-pil.imagetk",
                "binary_version": "3.1.2-0ubuntu1.3"
              }
            ]
          },
          "package": {
            "ecosystem": "Ubuntu:16.04:LTS",
            "name": "pillow",
            "purl": "pkg:deb/ubuntu/pillow@3.1.2-0ubuntu1.3?arch=source\u0026distro=xenial"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3.1.2-0ubuntu1.3"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "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"
          ]
        },
        {
          "database_specific": {
            "cves_map": {
              "cves": [
                {
                  "id": "CVE-2019-16865",
                  "severity": [
                    {
                      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                      "source": "NVD",
                      "type": "CVSS_V3"
                    },
                    {
                      "score": "low",
                      "source": "SELF",
                      "type": "Ubuntu"
                    }
                  ]
                },
                {
                  "id": "CVE-2019-19911",
                  "severity": [
                    {
                      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                      "source": "NVD",
                      "type": "CVSS_V3"
                    },
                    {
                      "score": "low",
                      "source": "SELF",
                      "type": "Ubuntu"
                    }
                  ]
                },
                {
                  "id": "CVE-2020-5311",
                  "severity": [
                    {
                      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
                      "source": "NVD",
                      "type": "CVSS_V3"
                    },
                    {
                      "score": "medium",
                      "source": "SELF",
                      "type": "Ubuntu"
                    }
                  ]
                },
                {
                  "id": "CVE-2020-5312",
                  "severity": [
                    {
                      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
                      "source": "NVD",
                      "type": "CVSS_V3"
                    },
                    {
                      "score": "medium",
                      "source": "SELF",
                      "type": "Ubuntu"
                    }
                  ]
                },
                {
                  "id": "CVE-2020-5313",
                  "severity": [
                    {
                      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H",
                      "source": "NVD",
                      "type": "CVSS_V3"
                    },
                    {
                      "score": "medium",
                      "source": "SELF",
                      "type": "Ubuntu"
                    }
                  ]
                }
              ],
              "ecosystem": "Ubuntu:18.04:LTS"
            }
          },
          "ecosystem_specific": {
            "availability": "No subscription required",
            "binaries": [
              {
                "binary_name": "python-pil",
                "binary_version": "5.1.0-1ubuntu0.2"
              },
              {
                "binary_name": "python-pil.imagetk",
                "binary_version": "5.1.0-1ubuntu0.2"
              },
              {
                "binary_name": "python3-pil",
                "binary_version": "5.1.0-1ubuntu0.2"
              },
              {
                "binary_name": "python3-pil.imagetk",
                "binary_version": "5.1.0-1ubuntu0.2"
              }
            ]
          },
          "package": {
            "ecosystem": "Ubuntu:18.04:LTS",
            "name": "pillow",
            "purl": "pkg:deb/ubuntu/pillow@5.1.0-1ubuntu0.2?arch=source\u0026distro=bionic"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5.1.0-1ubuntu0.2"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "versions": [
            "4.1.1-3build2",
            "4.3.0-2ubuntu1",
            "5.0.0-1",
            "5.1.0-1"
          ]
        }
      ],
      "aliases": [],
      "details": "It was discovered that Pillow incorrectly handled certain images.\nAn attacker could possibly use this issue to cause a denial of service.\n(CVE-2019-16865, CVE-2019-19911)\n\nIt was discovered that Pillow incorrectly handled certain images.\nAn attacker could possibly use this issue to execute arbitrary code.\n(CVE-2020-5312)\n\nIt was discovered that Pillow incorrectly handled certain TIFF images.\nAn attacker could possibly use this issue to cause a crash. This issue\nonly affected Ubuntu 19.10. (CVE-2020-5310)\n\nIt was discovered that Pillow incorrectly handled certain SGI images.\nAn attacker could possibly use this issue to execute arbitrary code or\ncause a crash. This issue only affected Ubuntu 18.04 and Ubuntu 19.10.\n(CVE-2020-5311)\n\nIt was discovered that Pillow incorrectly handled certain PCX images.\nAn attackter could possibly use this issue to execute arbitrary code or\ncause a crash. (CVE-2020-5312)\n\nIt was discovered that Pillow incorrectly handled certain Flip images.\nAn attacker could possibly use this issue to execute arbitrary code or\ncause a crash. (CVE-2020-5313)\n",
      "id": "USN-4272-1",
      "modified": "2026-11-24T09:37:08Z",
      "published": "2020-02-06T15:14:11Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://ubuntu.com/security/notices/USN-4272-1"
        },
        {
          "type": "REPORT",
          "url": "https://ubuntu.com/security/CVE-2019-16865"
        },
        {
          "type": "REPORT",
          "url": "https://ubuntu.com/security/CVE-2019-19911"
        },
        {
          "type": "REPORT",
          "url": "https://ubuntu.com/security/CVE-2020-5310"
        },
        {
          "type": "REPORT",
          "url": "https://ubuntu.com/security/CVE-2020-5311"
        },
        {
          "type": "REPORT",
          "url": "https://ubuntu.com/security/CVE-2020-5312"
        },
        {
          "type": "REPORT",
          "url": "https://ubuntu.com/security/CVE-2020-5313"
        }
      ],
      "related": [],
      "schema_version": "1.9.2",
      "summary": "pillow vulnerabilities",
      "upstream": [
        "UBUNTU-CVE-2019-16865",
        "UBUNTU-CVE-2019-19911",
        "UBUNTU-CVE-2020-5310",
        "UBUNTU-CVE-2020-5311",
        "UBUNTU-CVE-2020-5312",
        "UBUNTU-CVE-2020-5313"
      ]
    }