CVE-2026-49460
MEDIUM
5.1
CVSS 4.0
Description
pypdf is a free and open-source pure-python PDF library. Prior to 6.12.2, an attacker who uses this vulnerability can craft a PDF which leads to long runtimes. This requires accessing a stream which uses the /FlateDecode filter with a PNG predictor. This vulnerability is fixed in 6.12.2.
Metadata
Severity & Metrics
5.1
MEDIUM CVSS 4.0
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Affected products (1)
| Vendor | Product | Platform | Versions |
|---|---|---|---|
| py-pdf | pypdf | — | < 6.12.2 |
Weakness (CWE)
| CWE | Source | Description |
|---|---|---|
| CWE-407 | cna | CWE-407: Inefficient Algorithmic Complexity |
CVSS scores (1)
| Score | Severity | Version | Source | Vector |
|---|---|---|---|---|
| 5.1 | MEDIUM | 4.0 | cna | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N |
References (3)
- https://github.com/py-pdf/pypdf/security/advisories/GHSA-5hgr-hg42-57jg https://github.com/py-pdf/pypdf/security/advisories/GHSA-5hgr-hg42-57jg
- https://github.com/py-pdf/pypdf/pull/3806 https://github.com/py-pdf/pypdf/pull/3806
- https://github.com/py-pdf/pypdf/releases/tag/6.12.2 https://github.com/py-pdf/pypdf/releases/tag/6.12.2