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` 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"")`.
Infinite Loop
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
6.2 MEDIUM
LOCAL
LOW
NONE
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub_MCNA
6.2 MEDIUM
LOCAL
LOW
NONE
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVEADP
---
---
CISA-ADPADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 4%
VendorProductVersion
pypdf_projectpypdf
𝑥
< 3.9.0
pypdf2_projectpypdf2
2.2.0 ≤
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
pypdf
bookworm
3.4.1-1+deb12u1
fixed
bullseye
not-affected
buster
not-affected
sid
4.3.1-1
fixed
trixie
4.3.1-1
fixed
pypdf2
bullseye
1.26.0-4+deb11u1
not-affected
buster
not-affected
bookworm
2.12.1-3+deb12u1
fixed
sid
2.12.1-4
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
pypdf
oracular
needs-triage
noble
needs-triage
mantic
ignored
lunar
ignored
kinetic
dne
jammy
dne
focal
dne
bionic
ignored
xenial
ignored
trusty
ignored