pypdf is a free and open-source pure-python PDF library. Prior to 6.15.0, a crafted PDF can cause large memory consumption when pypdf/_cmap.py function parse_bfrange parses unusually large source-code or destination-string tokens in a font /ToUnicode CMap during text extraction. This issue is fixed in 6.15.0.
https://github.com/py-pdf/pypdf/security/advisories/GHSA-fp3f-mc75-235c
https://github.com/py-pdf/pypdf/releases/tag/6.15.0
https://github.com/py-pdf/pypdf/pull/3944
https://github.com/py-pdf/pypdf/commit/afba8080e19d29a3c256a742b340995e695b35aa
Published: 2026-08-07
Updated: 2026-08-07
Base Score: 5
Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P
Severity: Medium
Base Score: 7.5
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Severity: High
Base Score: 4.8
Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Severity: Medium