{
  "cveId": "CVE-2021-28677",
  "url": "https://patchblox.com/security/cve/CVE-2021-28677",
  "summary": "CVE-2021-28677 is fixed in 12 products on 1 platform, first by python-pil 5.1.0-1ubuntu0.6, released May 9, 2021. It is not reported as exploited. Patch Radar priority: High.",
  "title": "python3-pil: An issue was discovered in Pillow before 8.2.0",
  "description": "An issue was discovered in Pillow before 8.2.0. For EPS data, the readlineimplementation used in EPSImageFile has to deal with any combination of \\rand \\n as line endings. It used an accidentally quadratic method ofaccumulating lines while looking for a line ending. A malicious EPS filecould use this to perform a DoS of Pillow in the open phase, before animage was accepted for opening.",
  "published": "2021-05-09T17:00:00Z",
  "severity": "Low",
  "cvss": 9.1,
  "cvssVector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H",
  "epss": 0.02469,
  "epssPercentile": 0.84597,
  "priority": "High",
  "priorityTier": 3,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "python-pil",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "5.1.0-1ubuntu0.6",
      "fix": "python-pil 5.1.0-1ubuntu0.6",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-python-pil-5.1.0-1ubuntu0.6",
      "released": "2021-05-09T17:00:00Z"
    },
    {
      "platform": "linux",
      "product": "python-pil.imagetk",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "5.1.0-1ubuntu0.6",
      "fix": "python-pil.imagetk 5.1.0-1ubuntu0.6",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-python-pil.imagetk-5.1.0-1ubuntu0.6",
      "released": "2021-05-09T17:00:00Z"
    },
    {
      "platform": "linux",
      "product": "python-pillow",
      "release": "rocky 8",
      "fixedVersion": "0:5.1.1-16.el8",
      "fix": "RLSA-2021:4149",
      "url": "https://patchblox.com/security/fix/linux/rlsa-2021-4149",
      "released": "2021-11-09T08:24:34Z"
    },
    {
      "platform": "linux",
      "product": "python-pillow-debuginfo",
      "release": "amzn 2023",
      "fixedVersion": "9.4.0-2.amzn2023.0.1",
      "fix": "ALAS2023-2023-146",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-146",
      "released": "2023-03-20T18:27:00Z"
    },
    {
      "platform": "linux",
      "product": "python-pillow-debugsource",
      "release": "amzn 2023",
      "fixedVersion": "9.4.0-2.amzn2023.0.1",
      "fix": "ALAS2023-2023-146",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-146",
      "released": "2023-03-20T18:27:00Z"
    },
    {
      "platform": "linux",
      "product": "python3-pil",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "5.1.0-1ubuntu0.6",
      "fix": "python3-pil 5.1.0-1ubuntu0.6",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-python3-pil-5.1.0-1ubuntu0.6",
      "released": "2021-05-09T17:00:00Z"
    },
    {
      "platform": "linux",
      "product": "python3-pil",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "7.0.0-4ubuntu0.4",
      "fix": "python3-pil 7.0.0-4ubuntu0.4",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-python3-pil-7.0.0-4ubuntu0.4",
      "released": "2021-05-09T17:00:00Z"
    },
    {
      "platform": "linux",
      "product": "python3-pil",
      "release": "Ubuntu 24.10 (oracular)",
      "fixedVersion": "8.1.2\u002Bdfsg-0.1ubuntu1",
      "fix": "python3-pil 8.1.2\u002Bdfsg-0.1ubuntu1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-oracular-python3-pil-8.1.2-dfsg-0.1ubuntu1",
      "released": "2026-01-16T01:42:22Z"
    },
    {
      "platform": "linux",
      "product": "python3-pil",
      "release": "Ubuntu 25.04 (plucky)",
      "fixedVersion": "8.1.2\u002Bdfsg-0.1ubuntu1",
      "fix": "python3-pil 8.1.2\u002Bdfsg-0.1ubuntu1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-plucky-python3-pil-8.1.2-dfsg-0.1ubuntu1",
      "released": "2026-01-16T01:42:24Z"
    },
    {
      "platform": "linux",
      "product": "python3-pil.imagetk",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "5.1.0-1ubuntu0.6",
      "fix": "python3-pil.imagetk 5.1.0-1ubuntu0.6",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-python3-pil.imagetk-5.1.0-1ubuntu0.6",
      "released": "2021-05-09T17:00:00Z"
    },
    {
      "platform": "linux",
      "product": "python3-pil.imagetk",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "7.0.0-4ubuntu0.4",
      "fix": "python3-pil.imagetk 7.0.0-4ubuntu0.4",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-python3-pil.imagetk-7.0.0-4ubuntu0.4",
      "released": "2021-05-09T17:00:00Z"
    },
    {
      "platform": "linux",
      "product": "python3-pil.imagetk",
      "release": "Ubuntu 24.10 (oracular)",
      "fixedVersion": "8.1.2\u002Bdfsg-0.1ubuntu1",
      "fix": "python3-pil.imagetk 8.1.2\u002Bdfsg-0.1ubuntu1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-oracular-python3-pil.imagetk-8.1.2-dfsg-0.1ubuntu1",
      "released": "2026-01-16T01:42:22Z"
    },
    {
      "platform": "linux",
      "product": "python3-pil.imagetk",
      "release": "Ubuntu 25.04 (plucky)",
      "fixedVersion": "8.1.2\u002Bdfsg-0.1ubuntu1",
      "fix": "python3-pil.imagetk 8.1.2\u002Bdfsg-0.1ubuntu1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-plucky-python3-pil.imagetk-8.1.2-dfsg-0.1ubuntu1",
      "released": "2026-01-16T01:42:24Z"
    },
    {
      "platform": "linux",
      "product": "python3-pillow",
      "release": "RHEL 8",
      "fixedVersion": "0:5.1.1-16.el8",
      "fix": "RHSA-2021:4149",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2021-4149",
      "released": "2021-11-09T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "python3-pillow",
      "release": "almalinux 8",
      "fixedVersion": "5.1.1-16.el8",
      "fix": "ALSA-2021:4149",
      "url": "https://patchblox.com/security/fix/linux/alsa-2021-4149",
      "released": "2021-11-09T08:24:34Z"
    },
    {
      "platform": "linux",
      "product": "python3-pillow",
      "release": "amzn 2023",
      "fixedVersion": "9.4.0-2.amzn2023.0.1",
      "fix": "ALAS2023-2023-146",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-146",
      "released": "2023-03-20T18:27:00Z"
    },
    {
      "platform": "linux",
      "product": "python3-pillow-debuginfo",
      "release": "amzn 2023",
      "fixedVersion": "9.4.0-2.amzn2023.0.1",
      "fix": "ALAS2023-2023-146",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-146",
      "released": "2023-03-20T18:27:00Z"
    },
    {
      "platform": "linux",
      "product": "python3-pillow-devel",
      "release": "amzn 2023",
      "fixedVersion": "9.4.0-2.amzn2023.0.1",
      "fix": "ALAS2023-2023-146",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-146",
      "released": "2023-03-20T18:27:00Z"
    },
    {
      "platform": "linux",
      "product": "python3-pillow-tk",
      "release": "amzn 2023",
      "fixedVersion": "9.4.0-2.amzn2023.0.1",
      "fix": "ALAS2023-2023-146",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-146",
      "released": "2023-03-20T18:27:00Z"
    },
    {
      "platform": "linux",
      "product": "python3-pillow-tk-debuginfo",
      "release": "amzn 2023",
      "fixedVersion": "9.4.0-2.amzn2023.0.1",
      "fix": "ALAS2023-2023-146",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-146",
      "released": "2023-03-20T18:27:00Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T13:06:02Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}