{
  "cveId": "CVE-2022-24859",
  "url": "https://patchblox.com/security/cve/CVE-2022-24859",
  "summary": "CVE-2022-24859 is fixed in 4 products on 1 platform, first by python-pypdf2 1.26.0-2ubuntu0.1~esm1, released April 18, 2022. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "pypdf2: PyPDF2 is an open source python PDF library capable of splitting, merging, cropping, and transforming the pages of PD...",
  "description": "PyPDF2 is an open source python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files. In versions prior to 1.27.5 an attacker who uses this vulnerability can craft a PDF which leads to an infinite loop if the PyPDF2 if the code attempts to get the content stream. The reason is that the last while-loop in \u0060ContentStream._readInlineImage\u0060 only terminates when it finds the \u0060EI\u0060 token, but never actually checks if the stream has already ended. This issue has been resolved in version \u00601.27.5\u0060. Users unable to upgrade should validate and PDFs prior to iterating over their content stream.",
  "published": "2022-04-18T12:15:00Z",
  "severity": "medium",
  "cvss": 5.5,
  "cvssVector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
  "epss": 0.01328,
  "epssPercentile": 0.71179,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "pypdf2",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "1.27.9-1",
      "fix": "DEBIAN-CVE-2022-24859",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-24859",
      "released": "2022-04-18T19:15:09Z"
    },
    {
      "platform": "linux",
      "product": "python-PyPDF2",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "1.26.0-bp156.4.3.1",
      "fix": "OPENSUSE-SU-2024:0366-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2024-0366-1",
      "released": "2024-11-12T17:01:19Z"
    },
    {
      "platform": "linux",
      "product": "python-pypdf2",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "1.26.0-2ubuntu0.1~esm1",
      "fix": "python-pypdf2 1.26.0-2ubuntu0.1~esm1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-python-pypdf2-1.26.0-2ubuntu0.1-esm1",
      "released": "2022-04-18T12:15:00Z"
    },
    {
      "platform": "linux",
      "product": "python-pypdf2",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "1.26.0-3ubuntu1.20.04.1",
      "fix": "python-pypdf2 1.26.0-3ubuntu1.20.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-python-pypdf2-1.26.0-3ubuntu1.20.04.1",
      "released": "2022-04-18T12:15:00Z"
    },
    {
      "platform": "linux",
      "product": "python3-pypdf2",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "1.26.0-2ubuntu0.1~esm1",
      "fix": "python3-pypdf2 1.26.0-2ubuntu0.1~esm1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-python3-pypdf2-1.26.0-2ubuntu0.1-esm1",
      "released": "2022-04-18T12:15:00Z"
    },
    {
      "platform": "linux",
      "product": "python3-pypdf2",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "1.26.0-3ubuntu1.20.04.1",
      "fix": "python3-pypdf2 1.26.0-3ubuntu1.20.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-python3-pypdf2-1.26.0-3ubuntu1.20.04.1",
      "released": "2022-04-18T12:15:00Z"
    },
    {
      "platform": "linux",
      "product": "python3-pypdf2",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "1.26.0-4ubuntu0.22.04.1",
      "fix": "python3-pypdf2 1.26.0-4ubuntu0.22.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-python3-pypdf2-1.26.0-4ubuntu0.22.04.1",
      "released": "2022-04-18T12:15: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"
  }
}