CVE-2023-36464
Summary
| CVE | CVE-2023-36464 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2023-06-27 22:15:00 UTC |
| Updated | 2023-07-06 16:13:00 UTC |
| 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"")`. |
Risk And Classification
Problem Types: CWE-835
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Pypdf2 Project | Pypdf2 | All | All | All | All |
| Application | Pypdf Project | Pypdf | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Possible Infinite Loop when a comment isn't followed by a character · Advisory · py-pdf/pypdf · GitHub | MISC | github.com | |
| BUG: Prevent infinite loop when no character follows after a comment by exiledkingcc · Pull Request #1828 · py-pdf/pypdf · GitHub | MISC | github.com | |
| improved ExtractText(3) by pubpub-zz · Pull Request #969 · py-pdf/pypdf · GitHub | MISC | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.