CVE-2026-27628

medium

Description

pypdf is a free and open-source pure-python PDF library. Prior to 6.7.2, an attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires reading the file. This has been fixed in pypdf 6.7.2. As a workaround, one may apply the patch manually.

References

https://github.com/py-pdf/pypdf/security/advisories/GHSA-2rw7-x74f-jg35

https://github.com/py-pdf/pypdf/issues/3654

https://github.com/py-pdf/pypdf/commit/0fbd95938724ad2d72688d4112207c0590f0483f

Details

Source: Mitre, NVD

Published: 2026-02-25

Updated: 2026-02-25

Risk Information

CVSS v2

Base Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C

Severity: High

CVSS v3

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

CVSS v4

Base Score: 5.1

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Severity: Medium