cbcvebase.
CVE-2023-36464
published 2023-06-27

CVE-2023-36464: 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`…

PriorityP421medium5.5CVSS 3.1
AVLACLPRNUIRSUCNINAH
EPSS
0.35%
27.1th percentile
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"")`.

Affected

12 ranges
VendorProductVersion rangeFixed in
debianpypdf< pypdf 3.4.1-1+deb12u1 (bookworm)pypdf 3.4.1-1+deb12u1 (bookworm)
debianpypdf2< pypdf 3.4.1-1+deb12u1 (bookworm)pypdf 3.4.1-1+deb12u1 (bookworm)
py-pdfpypdf
py-pdfpypdf
pypdf2_projectpypdf2>= 0 < 2.12.1-3+deb12u12.12.1-3+deb12u1
pypdf2_projectpypdf22.2.0 – 3.0.1
pypdf2_projectpypdf2>= 2.2.0
pypdf_projectpypdf< 3.9.03.9.0
pypdf_projectpypdf>= 0 < 3.4.1-1+deb12u13.4.1-1+deb12u1
pypdf_projectpypdf>= 0 < 3.17.4-13.17.4-1
pypdf_projectpypdf>= 0 < 3.17.4-13.17.4-1
pypdf_projectpypdf>= 3.1.0 < 3.9.03.9.0

CVSS provenance

nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian6.2MEDIUM
vendor_redhat6.2MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.