Loop with Unreachable Exit Condition ('Infinite Loop') Affecting pypdf package, versions *


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.3% (24th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-PYPDF-21884778
  • published30 Oct 2026
  • disclosed29 Oct 2026

Introduced: 29 Oct 2026

NewCVE-2026-119203  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

There is no fixed version for Echo:latest pypdf.

NVD Description

Note: Versions mentioned in the description apply only to the upstream pypdf package and not the pypdf package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1