Bump pypdf from 6.19.0 to 6.21.4
DE
2d ago+145+145+012345678901234567890123456789-131-131-012345678901234567890123456789
Bumps pypdf from 6.19.0 to 6.21.4.
Release notes
Sourced from pypdf's releases.
Version 6.21.4, 2026-10-28
What's new
Security (SEC)
- Limit the number of copied page attributes during flattening (#4290) by
@stefan6419846- Detect EOF when reading standard xref table trailer (#4289) by
@stefan6419846- Fix loop detection when cloning DictionaryObject (#4288) by
@stefan6419846Documentation (DOC)
- Exclude performance issues from security reports (#4280) by
@stefan6419846Version 6.21.3, 2026-10-27
What's new
Security (SEC)
- Use the validated page count after decrypting a document (#4270) by
@stefan6419846- Limit total number of cross-reference stream entries (#4269) by
@stefan6419846- Avoid excessive error messages (#4265) by
@stefan6419846Performance Improvements (PI)
- Read flat page label number trees once for all pages (#4251) by
@kholdrex- Collect the named destinations once when resolving links (#4249) by
@MartinThoma- Avoid scanning all objects in get_outline_root (#4245) by
@kholdrexBug Fixes (BUG)
- Resolve indirect widths in CID font /W arrays (#4267) by
@tim-hildeDocumentation (DOC)
- Block incremental writes of encrypted documents (#4246) by
@metsw24-maxDeveloper Experience (DEV)
- Update to PyPy 3.12 and pinned requirements (#4244) by
@stefan6419846Maintenance (MAINT)
- Revert: Reject unsupported key lengths in the /Encrypt dictionary by
@stefan6419846Version 6.21.2, 2026-10-21
What's new
Security (SEC)
- Avoid repeated full file loads (#4240) by
@stefan6419846- Limit size of standard xref table (#4239) by
@stefan6419846Bug Fixes (BUG)
... (truncated)
Changelog
Sourced from pypdf's changelog.
Version 6.21.4, 2026-10-28
Security (SEC)
- Limit the number of copied page attributes during flattening (#4290)
- Detect EOF when reading standard xref table trailer (#4289)
- Fix loop detection when cloning DictionaryObject (#4288)
Documentation (DOC)
- Exclude performance issues from security reports (#4280)
Version 6.21.3, 2026-10-27
Security (SEC)
- Use the validated page count after decrypting a document (#4270)
- Limit total number of cross-reference stream entries (#4269)
- Avoid excessive error messages (#4265)
Performance Improvements (PI)
- Read flat page label number trees once for all pages (#4251)
- Collect the named destinations once when resolving links (#4249)
- Avoid scanning all objects in get_outline_root (#4245)
Bug Fixes (BUG)
- Resolve indirect widths in CID font /W arrays (#4267)
Documentation (DOC)
- Block incremental writes of encrypted documents (#4246)
Developer Experience (DEV)
- Update to PyPy 3.12 and pinned requirements (#4244)
Maintenance (MAINT)
- Revert: Reject unsupported key lengths in the /Encrypt dictionary
Version 6.21.2, 2026-10-21
Security (SEC)
Bug Fixes (BUG)
- Decode UniGB-UTF16 CMaps as UTF-16BE (#4231)
- Keep 8-bit DeviceRGB image mode (#4230)
- Preserve all annotation quadrilaterals when merging pages (#4223)
Robustness (ROB)
... (truncated)
Commits
b2c3fa2REL: 6.21.4ea4ac66SEC: Limit the number of copied page attributes during flattening (#4290)06593f9SEC: Detect EOF when reading standard xref table trailer (#4289)f176db1SEC: Fix loop detection when cloning DictionaryObject (#4288)c7d391cPI: Speed up transformation matrix handling for layout mode text extraction (...b330dcdDEV: Bump actions/setup-python from 7.0.0 to 7.1.0 (#4278)8901534DOC: Exclude performance issues from security reports (#4280)70eab9bPI: Speed up parse_bfchar (#4273)4ef744fROB: Skip an embedded file specification that is not a dictionary (#4256)945216fROB: Keep the text state when a text state operator has no operand in layout ...- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the Security Alerts page.
Summary by cubic
Updates pypdf from 6.19.0 to 6.21.4, which fixes several security vulnerabilities in PDF parsing and includes performance and robustness improvements. The lockfile re-resolves pyobjc framework markers and adds pyobjc-framework-pubsub.