# CVE-2026-40260: pypdf: Manipulated XMP metadata entity declarations can exhaust RAM

- Priority: **Routine**
- Reason: Not severe (CVSS 6.9, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-04-16 · Modified: 2026-04-17
- Aliases: GHSA-3crg-w4f6-42mx, PYSEC-2026-3006, UBUNTU-CVE-2026-40260, DEBIAN-CVE-2026-40260, CGA-7rcr-qqq5-2362, CGA-pjc2-fqwh-q2fc, openSUSE-SU-2026:10582-1, openSUSE-SU-2026:10583-1, openSUSE-SU-2026:20598-1, CGA-pw95-9hpm-9qpg, CGA-whrv-xm36-8qcg, CGA-wpgq-m8fm-3ch2
- Record: https://cvemate.com/vulnerability/CVE-2026-40260 · JSON: https://cvemate.com/vulnerability/CVE-2026-40260/json

## Description

```text
pypdf is a free and open-source pure-python PDF library. In versions prior to 6.10.0, manipulated XMP metadata entity declarations can exhaust RAM. An attacker who exploits this vulnerability can craft a PDF which leads to large memory usage. This requires parsing the XMP metadata. This issue has been fixed in version 6.10.0.
```

## Signals

- CVSS: 6.9 medium (v4.0, CVE.org) CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
- EPSS: 0.449%, percentile 40.768%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard litellm (Chainguard): \< 1.82.3.0-r4
- chainguard nemo (Chainguard): \< 2.7.2-r2
- chainguard open-webui (Chainguard): \< 0.9.2-r0 \| \< 0.8.12-r4
- wolfi open-webui (Wolfi): \< 0.9.2-r0 \| \< 0.8.12-r4
- debian pypdf (Debian): All versions (No fix recorded) \| \< 6.19.0-1
- debian pypdf2 (Debian): All versions (No fix recorded)
- ubuntu pypdf (Ubuntu): All versions (No fix recorded)
- ubuntu pypdf2 (Ubuntu): All versions (No fix recorded)
- py-pdf pypdf: \< 6.10.0
- pypdf\_project pypdf: \< 6.10.0
- PyPI pypdf (PyPI): \< 6.10.0
- opensuse python-PyPDF2&distro=openSUSE Leap 16.0 (openSUSE): \< 2.11.1-bp160.6.1
- opensuse python-PyPDF2&distro=openSUSE Tumbleweed (openSUSE): \< 2.11.1-9.1
- opensuse python-pypdf&distro=openSUSE Tumbleweed (openSUSE): \< 6.10.2-1.1

## References

- <https://github.com/py-pdf/pypdf/security/advisories/GHSA-3crg-w4f6-42mx>
- <https://github.com/py-pdf/pypdf/pull/3724>
- <https://github.com/py-pdf/pypdf/commit/b15a374e5ca648d4878e57c3b2c0551e7f8cc7f8>
- <https://github.com/py-pdf/pypdf/releases/tag/6.10.0>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40260>
- <https://github.com/py-pdf/pypdf>
- <https://pypi.org/project/pypdf>
- <https://github.com/advisories/GHSA-3crg-w4f6-42mx>
- <https://ubuntu.com/security/CVE-2026-40260>
- <https://www.cve.org/CVERecord?id=CVE-2026-40260>
- <https://security-tracker.debian.org/tracker/CVE-2026-40260>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40260.json>
- <https://www.suse.com/security/cve/CVE-2026-40260>
- <https://bugzilla.suse.com/1262284>

---

Data as of 2026-12-05T13:05:51.834Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
