CVE Explorer
CVE-2026-27628
pypdf is a free and open-source pure-python PDF library. Prior to 6.7.2, an attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires reading the file. This has been fixed in pypdf 6.7.2. As a workaround, one may apply the patch manually.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"pypdf","vendor":"py-pdf","versions":[{"status":"affected","version":"< 6.7.2"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:369e1b10638351085652e08756dd74466cee8886b1798733f05c6968c343efbb · sha256:5454b501997b0d2d… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":1.2,"baseSeverity":"LOW","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"ACTIVE","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U","version":"4.0","vulnAvailabilityImpact":"LOW","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:369e1b10638351085652e08756dd74466cee8886b1798733f05c6968c343efbb · sha256:5454b501997b0d2d… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-835","description":"CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:369e1b10638351085652e08756dd74466cee8886b1798733f05c6968c343efbb · sha256:5454b501997b0d2d… · /containers/cna/problemTypes/0/descriptions/0
Source references
4 source assertions{"name":"https://github.com/py-pdf/pypdf/commit/f0a462d36971cf077d74492a348d0d06fd60ea4d","tags":["x_refsource_MISC"],"url":"https://github.com/py-pdf/pypdf/commit/f0a462d36971cf077d74492a348d0d06fd60ea4d"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:369e1b10638351085652e08756dd74466cee8886b1798733f05c6968c343efbb · sha256:5454b501997b0d2d… · /containers/cna/references/2
{"name":"https://github.com/py-pdf/pypdf/issues/3654","tags":["x_refsource_MISC"],"url":"https://github.com/py-pdf/pypdf/issues/3654"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:369e1b10638351085652e08756dd74466cee8886b1798733f05c6968c343efbb · sha256:5454b501997b0d2d… · /containers/cna/references/1
{"tags":["exploit"],"url":"https://github.com/py-pdf/pypdf/issues/3654"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:369e1b10638351085652e08756dd74466cee8886b1798733f05c6968c343efbb · sha256:5454b501997b0d2d… · /containers/adp/0/references/0
{"name":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-2rw7-x74f-jg35","tags":["x_refsource_CONFIRM"],"url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-2rw7-x74f-jg35"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:369e1b10638351085652e08756dd74466cee8886b1798733f05c6968c343efbb · sha256:5454b501997b0d2d… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.