CVE-2026-113791

medium

Description

pypdf is a free and open-source pure-python PDF library. Prior to 6.21.0, an attacker can craft a PDF containing a content stream with many small operations, causing parsing to consume large amounts of memory. This issue is fixed in version 6.21.0.

References

https://github.com/py-pdf/pypdf/security/advisories/GHSA-cgf9-327m-v77c

https://github.com/py-pdf/pypdf/releases/tag/6.21.0

https://github.com/py-pdf/pypdf/pull/4218

https://github.com/py-pdf/pypdf/commit/18bd2981a74479483a0b9507602c58a63d6c9b12

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-107331

Details

Source: Mitre, NVD

Published: 2026-10-21

Updated: 2026-10-22

Risk Information

CVSS v2

Base Score: 4.3

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

Severity: Medium

CVSS v3

Base Score: 5.5

Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Severity: Medium

CVSS v4

Base Score: 6

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

Severity: Medium

EPSS

EPSS: 0.00317