# CVE-2026-119203: pypdf: Possible infinite loop when hitting EOF in standard xref table during trailer search

- Priority: **Routine**
- Reason: Not severe (CVSS 7.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-10-29 · Modified: 2026-10-30
- Aliases: DEBIAN-CVE-2026-119203, GHSA-5849-834g-hvw5, UBUNTU-CVE-2026-119203, CGA-5h94-f534-x654, CGA-v7v3-8hwv-55fp, CGA-v443-2hcq-p5vj
- Record: https://cvemate.com/vulnerability/CVE-2026-119203 · JSON: https://cvemate.com/vulnerability/CVE-2026-119203/json

## Description

```text
pypdf is a free and open-source pure-python PDF library. Prior to 6.21.4, pypdf can enter an infinite loop while opening a crafted incomplete PDF whose standard cross-reference table reaches the end of the file without a trailer. The trailer search can repeatedly rewind to the same stream position instead of terminating when parsing makes no progress, blocking the processing thread. This issue is fixed in version 6.21.4.
```

## Signals

- CVSS: 7.1 high (v4.0, CVE.org) CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- EPSS: 0.329%, percentile 28.081%, 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 nemo (Chainguard): All versions (No fix recorded) \| \< 2.7.3-r45
- chainguard open-webui (Chainguard): \< 0.12.3-r15
- wolfi open-webui (Wolfi): \< 0.12.3-r15
- debian pypdf (Debian): All versions (No fix recorded) \| \< 6.21.4-1
- debian pypdf2 (Debian): All versions (No fix recorded)
- ubuntu pypdf (Ubuntu): All versions (No fix recorded)
- py-pdf pypdf: \< 6.21.4
- pypdf\_project pypdf: \< 6.21.4
- PyPI pypdf (PyPI): \< 6.21.4

## References

- <https://github.com/py-pdf/pypdf/security/advisories/GHSA-5849-834g-hvw5>
- <https://github.com/py-pdf/pypdf/pull/4289>
- <https://github.com/py-pdf/pypdf/commit/06593f993789a4b573dd955730c1a7051128bb2a>
- <https://github.com/py-pdf/pypdf/releases/tag/6.21.4>
- <https://security-tracker.debian.org/tracker/CVE-2026-119203>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-119203>
- <https://github.com/py-pdf/pypdf>
- <https://ubuntu.com/security/CVE-2026-119203>
- <https://www.cve.org/CVERecord?id=CVE-2026-119203>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119203.json>

---

Data as of 2026-12-05T03:45:09.968Z. 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
