# CVE-2026-54531: pypdf: Possible infinite loop when processing outlines/bookmarks in writer

- Priority: **Routine**
- Reason: Not severe (CVSS 6.9, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-06-22 · Modified: 2026-06-23
- Aliases: GHSA-m2v9-299j-rv96, PYSEC-2026-3022, UBUNTU-CVE-2026-54531, DEBIAN-CVE-2026-54531, CGA-58jm-vv47-f6wx, CGA-c79v-q979-5pf4
- Record: https://cvemate.com/vulnerability/CVE-2026-54531 · JSON: https://cvemate.com/vulnerability/CVE-2026-54531/json

## Description

```text
pypdf is a free and open-source pure-python PDF library. Prior to 6.13.0, an attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires merging a file with outlines into a writer. This vulnerability is fixed in 6.13.0.
```

## Signals

- CVSS: 6.9 medium (v4.0, CVE.org) CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- EPSS: 0.121%, percentile 2.077%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard open-webui (Chainguard): \< 0.9.6-r5
- wolfi open-webui (Wolfi): \< 0.9.6-r5
- debian pypdf (Debian): All versions (No fix recorded) \| \< 6.19.0-1
- debian pypdf2 (Debian): All versions (No fix recorded)
- ubuntu pypdf (Ubuntu): All versions (No fix recorded)
- ubuntu pypdf2 (Ubuntu): All versions (No fix recorded)
- ubuntu python-pypdf (Ubuntu): All versions (No fix recorded)
- py-pdf pypdf: \< 6.13.0
- pypdf\_project pypdf: \< 6.13.0
- PyPI pypdf (PyPI): \< 6.13.0

## References

- <https://github.com/py-pdf/pypdf/security/advisories/GHSA-m2v9-299j-rv96>
- <https://github.com/py-pdf/pypdf/pull/3830>
- <https://github.com/py-pdf/pypdf/releases/tag/6.13.0>
- <https://github.com/py-pdf/pypdf>
- <https://pypi.org/project/pypdf>
- <https://github.com/advisories/GHSA-m2v9-299j-rv96>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-54531>
- <https://ubuntu.com/security/CVE-2026-54531>
- <https://www.cve.org/CVERecord?id=CVE-2026-54531>
- <https://security-tracker.debian.org/tracker/CVE-2026-54531>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54531.json>

---

Data as of 2026-12-05T13:05:46.909Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
