CVE-2026-48735

pypdf: Manipulated XMP metadata streams can exhaust RAM

MEDIUM
5.5
CVSS Score
Published: May 28, 2026 at 02:49 PM UTC
Updated: October 14, 2026 at 08:10 PM UTC
2 products affected across 2 vendorsPypdfPypdf

Using pypdf by py-pdf?

Get instant alerts when new vulnerabilities affect pypdf - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.1%
SSVC
No known exploit

Description

pypdf is a free and open-source pure-python PDF library. Prior to 6.12.1, an attacker who uses this vulnerability can craft a PDF which leads to large memory usage. This requires parsing large XMP metadata, possibly with lots of unnecessary elements. This vulnerability is fixed in 6.12.1.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 6.12.1
Affected range stops below 6.12.1, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (3)

x_refsource_CONFIRMPatchVendor Advisory
Source: cverecord
https://github.com/py-pdf/pypdf/security/advisories/GHSA-wjqc-6w8f-h24c
x_refsource_MISCIssue TrackingPatch
Source: cverecord
https://github.com/py-pdf/pypdf/pull/3796
x_refsource_MISCRelease Notes
Source: cverecord
https://github.com/py-pdf/pypdf/releases/tag/6.12.1

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-770

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card