A vulnerability in pypdf allows crafted PDF files with complex page trees and many shared resources to cause large memory usage during parsing. This can lead to resource exhaustion on affected systems. The issue is fixed in pypdf version 6.21.4. Users unable to upgrade immediately can apply the changes from the referenced pull request as a workaround.