Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2019-16865

An issue was discovered in Pillow before 6.2.0. When reading specially crafted invalid image files, the library can either allocate very large amounts of memory or take an extremely long period of time to process the image.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2019-16865
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 05:06 UTC · Revision 1

Source evidence

CVE-2019-16865

core-osv · Original source

Published 4 Oct 2019, 22:15 UTC

An issue was discovered in Pillow before 6.2.0. When reading specially crafted invalid image files, the library can either allocate very large amounts of memory or take an extremely long period of time to process the image.

osv:CVE-2019-16865
Complete source record
{
  "id": "9f382a096c6df6d47c2dea6643772c49994ab45db8e1bf579b2a17587c0c1635",
  "url": "https://osv.dev/vulnerability/CVE-2019-16865",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2019-16865",
    "summary": "An issue was discovered in Pillow before 6.2.0. When reading specially crafted invalid image files, the library can either allocate very large amounts of memory or take an extremely long period of time to process the image.",
    "evidence": "osv:CVE-2019-16865",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2019-16865",
      "aliases": [
        "CVE-2019-16865",
        "GHSA-j7mj-748x-7p78",
        "PYSEC-2019-110"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/python-pillow/pillow",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "8a30d135378dc6a1c3c08fa4bb9fbc15370feedf"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "6.2.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "6.1.0",
            "6.0.0",
            "5.4.0",
            "5.3.0",
            "5.2.0",
            "5.1.0",
            "5.0.0",
            "4.3.0",
            "4.2.0",
            "4.1.0",
            "4.0.0",
            "4.0.0a",
            "3.4.0",
            "3.3.0",
            "3.2.0",
            "3.1.0",
            "3.1.0-rc1",
            "2.9.0",
            "2.9.0.dev2",
            "2.9.0.dev1",
            "2.9.0.dev0",
            "2.8.1",
            "2.8.0",
            "2.7.0",
            "2.5.0",
            "2.3.0",
            "2.2.1",
            "2.2.0",
            "2.1.0",
            "2.0.0",
            "1.7.8",
            "1.7.7",
            "1.2",
            "1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-16865.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:24.796284145Z",
      "provider": "osv",
      "references": [
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EMJBUZQGQ2Q7HXYCQVRLU7OXNC7CAWWU/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LYDXD7EE4YAEVSTNIFZKNVPRVJX5ZOG3/",
        "https://usn.ubuntu.com/4272-1/",
        "https://access.redhat.com/errata/RHSA-2020:0566",
        "https://access.redhat.com/errata/RHSA-2020:0578",
        "https://access.redhat.com/errata/RHSA-2020:0580",
        "https://access.redhat.com/errata/RHSA-2020:0681",
        "https://access.redhat.com/errata/RHSA-2020:0683",
        "https://access.redhat.com/errata/RHSA-2020:0694",
        "https://pillow.readthedocs.io/en/latest/releasenotes/6.2.0.html",
        "https://www.debian.org/security/2020/dsa-4631"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*",
              "cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*"
            ],
            "vendor_product": "fedoraproject:fedora",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "30"
                  },
                  {
                    "last_affected": "30"
                  },
                  {
                    "introduced": "31"
                  },
                  {
                    "last_affected": "31"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2019-16865",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 431218,
  "published_at": "2019-10-04T22:15:11.19+00:00"
}