Name | CVE-2023-36810 |
Description | pypdf is a pure-python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files. An attacker who uses this vulnerability can craft a PDF which leads to unexpected long runtime. This quadratic runtime blocks the current process and can utilize a single core of the CPU by 100%. It does not affect memory usage. This issue has been addressed in PR 808 and versions from 1.27.9 include this fix. Users are advised to upgrade. There are no known workarounds for this vulnerability. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3497-1, ELA-893-1 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
pypdf2 (PTS) | jessie | 1.23+git20141008-1+deb8u1 | vulnerable |
stretch (security) | 1.26.0-2+deb9u1 | vulnerable | |
stretch (lts), stretch | 1.26.0-2+deb9u2 | fixed | |
buster (security), buster, buster (lts) | 1.26.0-2+deb10u2 | fixed | |
bullseye | 1.26.0-4+deb11u1 | fixed | |
bookworm | 2.12.1-3+deb12u1 | fixed | |
sid | 2.12.1-4 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
pypdf2 | source | jessie | (unfixed) | end-of-life | ||
pypdf2 | source | stretch | 1.26.0-2+deb9u2 | ELA-893-1 | ||
pypdf2 | source | buster | 1.26.0-2+deb10u2 | DLA-3497-1 | ||
pypdf2 | source | bullseye | 1.26.0-4+deb11u1 | |||
pypdf2 | source | (unstable) | 1.27.9-1 |
https://github.com/py-pdf/pypdf/security/advisories/GHSA-jrm6-h9cq-8gqw
https://github.com/py-pdf/pypdf/issues/582
https://github.com/py-pdf/pypdf/pull/808
Fixed by: https://github.com/py-pdf/pypdf/commit/c6c56f550bb384e05f0139c796ba1308837d6373 (1.27.9)