CVE-2021-29421Pikepdf Project Pikepdf
High 7.5 No auth needed
Follow: this CVE · Pikepdf Project · Pikepdf Project Pikepdf We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Apr 1, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-611
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
models/metadata.py in the pikepdf package 1.3.0 through 2.9.2 for Python allows XXE when parsing XMP metadata entries.
What to do
- Apply the vendor's security update for Pikepdf.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | pikepdf |
≥ 1.3.0 < 2.10.0 |
2.10.0 |
pip install "pikepdf>=2.10.0" |
| PyPI | pikepdf |
≥ 1.3.0 < 2.10.0 |
2.10.0 |
pip install "pikepdf>=2.10.0" |
Per OSV / GitHub Advisories (GHSA-ccgm-3xw4-h5p8, PYSEC-2021-34). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| pikepdf_project | pikepdf | ≥ 1.3.0 ≤ 2.9.2 |
| fedoraproject | fedora | 32 |
| fedoraproject | fedora | 33 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Release Notes Third Party Advisory
- github.com Patch Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org