Breaking: Java4Shell (CVE-2026-114938) - Less Than 0.12% of JVMs Estimated at Risk of RCE
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2021-29421

pikepdf: XML external entity issue when parsing XMP metadata entries

Overview

Published
1 Apr 2021
Modified
17 Jun 2026
High CVE
1 Registry packages
10 OS packages
4 Linux distributions
Yes Fix available

Description

models/metadata.py in the pikepdf package 1.3.0 through 2.9.2 for Python allows XXE when parsing XMP metadata entries.

Source: OX vulnerability database

Severity

7.5 · HIGH

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

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

Weakness: CWE-611

Affected packages · 1

Packages affected by CVE-2021-29421
EcosystemPackageVulnerableFixed in
PyPI pikepdf >=1.3.0, <2.10.0 2.10.0

Open a package to see all its vulnerabilities.

Operating systems · 13 fixes

alpine 4 releases · 1 package

fixed 4
py3-pikepdf
alpine fixes for CVE-2021-29421
ReleasePackageFixed in
3.22 py3-pikepdf 2.9.1-r2
3.23 py3-pikepdf 2.9.1-r2
3.24 py3-pikepdf 2.9.1-r2
edge py3-pikepdf 2.9.1-r2

debian 5 releases · 1 package

affected 1 fixed 4
pikepdf
debian fixes for CVE-2021-29421
ReleasePackageFixed in
10 pikepdf affected
11 pikepdf 1.17.3+dfsg-5
12 pikepdf 1.17.3+dfsg-5
13 pikepdf 1.17.3+dfsg-5
14 pikepdf 1.17.3+dfsg-5

echo 1 release · 1 package

fixed 1
pikepdf
echo fixes for CVE-2021-29421
ReleasePackageFixed in
pikepdf 1.17.3+dfsg-5

openSUSE 1 release · 3 packages

fixed 3
python313-pikepdf python36-pikepdf python310-pikepdf
openSUSE fixes for CVE-2021-29421
ReleasePackageFixed inAdvisory
Tumbleweed python313-pikepdf +1 10.5.1-2.1 openSUSE-SU-2026:11355-1
Tumbleweed python36-pikepdf +2 2.12.1-1.3 openSUSE-SU-2024:11250-1
Tumbleweed python310-pikepdf +2 8.15.0-1.1 openSUSE-SU-2024:13864-1

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.