CVE-2023-36464
Last modified
CVE-2023-36464 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. pypdf is an open source, pure-python PDF library. In affected versions an attacker may craft a PDF which leads to an infinite loop if `__parse_content_stream` is executed. EPSS estimates a 0.34% chance of exploitation in the next 30 days.
Description
pypdf is an open source, pure-python PDF library. In affected versions an attacker may craft a PDF which leads to an infinite loop if `__parse_content_stream` is executed. That is, for example, the case if the user extracted text from such a PDF. This issue was introduced in pull request #969 and resolved in pull request #1828. Users are advised to upgrade. Users unable to upgrade may modify the line `while peek not in (b"\r", b"\n")` in `pypdf/generic/_data_structures.py` to `while peek not in (b"\r", b"\n", b"")`.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Pypdf Project | Pypdf | < 3.9.0 |
| Pypdf2 Project | Pypdf2 | >= 2.2.0 |
References
- https://github.com/py-pdf/pypdf/pull/969Issue Tracking, Patch
- https://github.com/py-pdf/pypdf/pull/969Issue Tracking, Patch
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-36464?
How severe is CVE-2023-36464?
How do I fix CVE-2023-36464?
Are you affected by CVE-2023-36464?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
