Update pdfminer.six to v20251107 and require Python 3.9+ #3437
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This update addresses issue #3434 by updating the pdfminer.six dependency from version 20240706 (July 2024) to the latest version 20251107 (November 2025).
Key changes:
Security fix: Version 20251107 includes a critical fix for arbitrary code execution when loading pickle cmaps (CVE pending). This vulnerability could allow an attacker to execute arbitrary code by crafting a malicious PDF file with specially-crafted pickle-serialized character map data.
Breaking change: pdfminer.six dropped Python 3.8 support in v20250327, requiring this project to also bump its minimum Python version to 3.9.
Testing: All unit tests pass, and PDF parsing functionality has been verified with sample PDF files.
Fixes #3434
cc: @smoelius
🤖 Generated with Claude Code