{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "6.20.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "fixed": "37e1cd681744bac38b159f7e1c614eee8d639c58"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "6.20.0",
                "range": [
                  {
                    "fixed": "0309ab701a192fbd3228701a44dd009765a1629b"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0309ab701a192fbd3228701a44dd009765a1629b"
            },
            {
              "fixed": "37e1cd681744bac38b159f7e1c614eee8d639c58"
            }
          ],
          "repo": "https://github.com/py-pdf/pypdf",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-39mj-jf6j-2qj3"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-835"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/113xxx/CVE-2026-113794.json"
  },
  "details": "pypdf is a free and open-source pure-python PDF library. Prior to 6.20.0, an attacker can craft an incomplete PDF that ends inside a standard cross-reference table, causing pypdf to mishandle the unexpected end of file and enter an infinite loop. This issue is fixed in version 6.20.0.",
  "id": "CVE-2026-113794",
  "modified": "2026-10-22T02:30:20.402253397Z",
  "published": "2026-10-21T15:59:26.054Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/113xxx/CVE-2026-113794.json"
    },
    {
      "type": "FIX",
      "url": "https://github.com/py-pdf/pypdf/commit/37e1cd681744bac38b159f7e1c614eee8d639c58"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/py-pdf/pypdf/issues/4169"
    },
    {
      "type": "FIX",
      "url": "https://github.com/py-pdf/pypdf/pull/4170"
    },
    {
      "type": "WEB",
      "url": "https://github.com/py-pdf/pypdf/releases/tag/6.20.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/py-pdf/pypdf/security/advisories/GHSA-39mj-jf6j-2qj3"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-113794"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "pypdf: Possible infinite loop when hitting EOF in standard xref table"
}