Skip to content

SEC: Limit the allowed size of xref and object streams#3733

Merged
stefan6419846 merged 2 commits intopy-pdf:mainfrom
stefan6419846:xref-object-stream-limit
Apr 14, 2026
Merged

SEC: Limit the allowed size of xref and object streams#3733
stefan6419846 merged 2 commits intopy-pdf:mainfrom
stefan6419846:xref-object-stream-limit

Conversation

@stefan6419846
Copy link
Copy Markdown
Collaborator

This uses a dynamic approach based upon the actual stream size and supplied width parameters to ensure highest backwards-compatibility.

This uses a dynamic approach based upon the actual stream size and
supplied width parameters to ensure highest backwards-compatibility.
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 14, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.46%. Comparing base (5dcc0ae) to head (a8b41ad).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3733      +/-   ##
==========================================
+ Coverage   97.44%   97.46%   +0.02%     
==========================================
  Files          55       55              
  Lines       10045    10071      +26     
  Branches     1844     1850       +6     
==========================================
+ Hits         9788     9816      +28     
+ Misses        149      148       -1     
+ Partials      108      107       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@stefan6419846 stefan6419846 merged commit 62338e9 into py-pdf:main Apr 14, 2026
17 checks passed
@stefan6419846 stefan6419846 deleted the xref-object-stream-limit branch April 14, 2026 12:48
stefan6419846 added a commit that referenced this pull request Apr 14, 2026
## What's new

### Security (SEC)
- Limit the allowed size of xref and object streams (#3733) by @stefan6419846

### Robustness (ROB)
- Consider strict mode setting for decryption errors (#3731) by @stefan6419846

### Documentation (DOC)
- Use new parameter names for compress_identical_objects by @stefan6419846

[Full Changelog](6.10.0...6.10.1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant