Live threats

All CVEs / Pikepdf Project

CVE-2021-29421Pikepdf Project Pikepdf

High 7.5 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Pikepdf.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
pikepdf_projectpikepdf≥ 1.3.0 ≤ 2.9.2
fedoraprojectfedora32
fedoraprojectfedora33

Official sources

References

Links published by the sources. Open them with care.