{"id":"CVE-2026-54530","aliases":["GHSA-52x6-gq3r-vpf4","PYSEC-2026-3009"],"url":"https://o3.security/vulnerability/CVE-2026-54530","summary":"pypdf: Possible infinite loop when retrieving fonts for layout-mode text extraction","details":"### Impact\n\nAn attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires extracting the text in layout mode.\n\n### Patches\n\nThis has been fixed in [pypdf==6.13.0](https://github.com/py-pdf/pypdf/releases/tag/6.13.0).\n\n### Workarounds\n\nIf you cannot upgrade yet, consider applying the changes from PR [#3830](https://github.com/py-pdf/pypdf/pull/3830).","published":"2026-06-22T20:25:29.305Z","modified":"2026-10-21T02:52:37.117821611Z","cvss":null,"epss":{"score":0.00174,"percentile":0.0701,"asOf":"2026-09-09"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"pypdf","fixedVersion":"6.13.0"}],"fix":{"url":"https://github.com/py-pdf/pypdf/pull/3830","label":"py-pdf/pypdf#3830"},"references":[{"type":"WEB","url":"https://github.com/py-pdf/pypdf/releases/tag/6.13.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54530.json"},{"type":"ADVISORY","url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-52x6-gq3r-vpf4"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54530"},{"type":"FIX","url":"https://github.com/py-pdf/pypdf/pull/3830"},{"type":"PACKAGE","url":"https://github.com/py-pdf/pypdf"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-21T02:52:37.117821611Z"}}