CVE-2026-119203
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.
- Score
- 7.1 high
- Published
- 2026-10-29
- Links
- NVD · cve.org · Report wrong data
Matched ports (1)
| Port | Package | Version | Status | Maintainer |
|---|---|---|---|---|
| print/py-pypdf | py312-pypdf | 6.9.2 | unaddressed | wen@FreeBSD.org |
Template for a VuXML entry
Check the version numbers before you commit this entry. Some ports share an entry in the CVE database with another port, such as sqlite2 and sqlite3. The version shown here may then be one that never existed for this port.
Ranges per package from the CVE rows that match this port, in pkg notation with the port's epoch and revision, every bound checked with pkg; one range per epoch the port actually had. make newentry in security/vuxml creates the vid.
print/py-pypdf (CPE matched by the package name) has no USES=cpe. The CVE was matched through a CPE from another source, so the package and the version range may belong to a different product. Check the CVE record before using this entry.
<vuln vid="FIXME (make newentry)">
<topic>py312-pypdf -- FIXME</topic>
<affects>
<package>
<name>py312-pypdf</name>
<range><lt>6.21.4</lt></range>
</package>
</affects>
<description>
<body xmlns="http://www.w3.org/1999/xhtml">
<p>CVE-2026-119203: 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.</p>
</body>
</description>
<references>
<cvename>CVE-2026-119203</cvename>
<url>https://nvd.nist.gov/vuln/detail/CVE-2026-119203</url>
</references>
<dates>
<discovery>2026-10-29</discovery>
<entry>2026-10-30</entry>
</dates>
</vuln>