An attacker who uses this vulnerability can craft a PDF which leads to large memory usage. This requires parsing the XMP metadata.
This has been fixed in pypdf==6.10.0.
If you cannot upgrade yet, consider applying the changes from PR #3724.
"https://github.com/pypa/advisory-database/blob/main/vulns/pypdf/PYSEC-2026-3006.yaml"