# CVE-2026-113790: pypdf: Possible large memory usage when parsing arrays and dictionaries

- Severity: Medium 6.0 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 24% of CVEs (2026-12-01)
- Published: 2026-10-21T15:35:52.503Z
- Modified: 2026-11-05T21:35:07.257Z
- Also known as: GHSA-f54x-cmq8-qg57
- Weaknesses: CWE-400, CWE-770
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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

(As written by CVE List.)

## Affected

- py-pdf pypdf: < 6.21.0; before 6.21.0
- pypdf (PyPI): before 6.21.0

## Every score

- GitHub_M: CVSS:4.0 6.0 Medium `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`
- GitHub: CVSS:4.0 Medium `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`
- NVD: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L`

## References

- <https://github.com/py-pdf/pypdf/security/advisories/GHSA-f54x-cmq8-qg57> (patch, vendor-advisory, web)
- <https://github.com/py-pdf/pypdf/pull/4218> (issue-tracking, patch, web)
- <https://github.com/py-pdf/pypdf/commit/18bd2981a74479483a0b9507602c58a63d6c9b12> (patch, web)
- <https://github.com/py-pdf/pypdf/releases/tag/6.21.0> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-113790> (advisory)
- <https://github.com/py-pdf/pypdf> (package)

## Sources

- CVE List: [CVE-2026-113790](https://www.cve.org/CVERecord?id=CVE-2026-113790), CVE Terms of Use, modified 2026-10-28
- GitHub Advisory Database: [GHSA-f54x-cmq8-qg57](https://github.com/advisories/GHSA-f54x-cmq8-qg57), CC-BY-4.0, modified 2026-10-22
- NVD: [CVE-2026-113790](https://nvd.nist.gov/vuln/detail/CVE-2026-113790), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2026-113790 · Whole record: https://cve.day/CVE-2026-113790.json · Rebuilt by cve.day 2026-11-25T22:59:46.616Z
