chore(deps): Bump pypdf from 6.19.0 to 6.21.2 #1344
All Vouch review confidence checks passed
Residual risk 0.22 = Change Risk (0.52) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.52 · 650 lines diff across 8 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.388
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #1344"
general
weight: 0.35
sicoyle
Bumps pypdf from 6.19.0 to 6.21.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/py-pdf/pypdf/releases">pypdf's releases</a>.</em></p>
<blockquote>
<h2>Version 6.21.2, 2026-10-21</h2>
<h2>What's new</h2>
<h3>Security (SEC)</h3>
<ul>
<li>Avoid repeated full file loads (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4240">#4240</a>) by <a href="https://github.com/stefan6419846"><code>@stefan6419846</code></a></li>
<li>Limit size of standard xref table (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4239">#4239</a>) by <a href="https://github.com/stefan6419846"><code>@stefan6419846</code></a></li>
</ul>
<h3>Bug Fixes (BUG)</h3>
<ul>
<li>Decode UniGB-UTF16 CMaps as UTF-16BE (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4231">#4231</a>) by <a href="https://github.com/4444wjt"><code>@4444wjt</code></a></li>
<li>Keep 8-bit DeviceRGB image mode (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4230">#4230</a>) by <a href="https://github.com/DGrutt"><code>@DGrutt</code></a></li>
<li>Preserve all annotation quadrilaterals when merging pages (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4223">#4223</a>) by <a href="https://github.com/repzakske"><code>@repzakske</code></a></li>
</ul>
<h3>Robustness (ROB)</h3>
<ul>
<li>Multiple fixes</li>
</ul>
<p><a href="https://github.com/py-pdf/pypdf/compare/6.21.1...6.21.2">Full Changelog</a></p>
<h2>Version 6.21.1, 2026-10-17</h2>
<h2>What's new</h2>
<h3>Security (SEC)</h3>
<ul>
<li>Only open /DCTDecode image data with the Pillow JPEG plugin (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4222">#4222</a>) by <a href="https://github.com/metsw24-max"><code>@metsw24-max</code></a></li>
</ul>
<p><a href="https://github.com/py-pdf/pypdf/compare/6.21.0...6.21.1">Full Changelog</a></p>
<h2>Version 6.21.0, 2026-10-16</h2>
<h2>What's new</h2>
<h3>Security (SEC)</h3>
<ul>
<li>Improve performance and limit field work (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4219">#4219</a>) by <a href="https://github.com/stefan6419846"><code>@stefan6419846</code></a></li>
<li>Limit stream parsing work (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4218">#4218</a>) by <a href="https://github.com/stefan6419846"><code>@stefan6419846</code></a></li>
</ul>
<h3>New Features (ENH)</h3>
<ul>
<li>Allow custom fit modes for named destinations (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4181">#4181</a>) by <a href="https://github.com/JackyHsu-X"><code>@JackyHsu-X</code></a></li>
</ul>
<h3>Bug Fixes (BUG)</h3>
<ul>
<li>Treat NUL as whitespace in ArrayObject (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4198">#4198</a>) by <a href="https://github.com/Zephyr761"><code>@Zephyr761</code></a></li>
<li>Avoid overwriting unread objects in add_form_topname (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4190">#4190</a>) by <a href="https://github.com/tigger0jk"><code>@tigger0jk</code></a></li>
<li>Read an indirect page box on a writer page (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4179">#4179</a>) by <a href="https://github.com/usmanmateen"><code>@usmanmateen</code></a></li>
</ul>
<p><a href="https://github.com/py-pdf/pypdf/compare/6.20.1...6.21.0">Full Changelog</a></p>
<h2>Version 6.20.1, 2026-10-12</h2>
<h2>What's new</h2>
<h3>Security (SEC)</h3>
<ul>
<li>Prevent cyclic tree handling (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4188">#4188</a>) by <a href="https://github.com/stefan6419846"><code>@stefan6419846</code></a></li>
</ul>
<h3>Bug Fixes (BUG)</h3>
<ul>
<li>Only read the color operator from a text field's default appearance (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4158">#4158</a>) by <a href="https://github.com/yaourtv"><code>@yaourtv</code></a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/py-pdf/pypdf/blob/main/CHANGELOG.md">pypdf's changelog</a>.</em></p>
<blockquote>
<h2>Version 6.21.2, 2026-10-21</h2>
<h3>Security (SEC)</h3>
<ul>
<li>Avoid repeated full file loads (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4240">#4240</a>)</li>
<li>Limit size of standard xref table (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4239">#4239</a>)</li>
</ul>
<h3>Bug Fixes (BUG)</h3>
<ul>
<li>Decode UniGB-UTF16 CMaps as UTF-16BE (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4231">#4231</a>)</li>
<li>Keep 8-bit DeviceRGB image mode (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4230">#4230</a>)</li>
<li>Preserve all annotation quadrilaterals when merging pages (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4223">#4223</a>)</li>
</ul>
<h3>Robustness (ROB)</h3>
<ul>
<li>Multiple fixes</li>
</ul>
<p><a href="https://github.com/py-pdf/pypdf/compare/6.21.1...6.21.2">Full Changelog</a></p>
<h2>Version 6.21.1, 2026-10-17</h2>
<h3>Security (SEC)</h3>
<ul>
<li>Only open /DCTDecode image data with the Pillow JPEG plugin (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4222">#4222</a>)</li>
</ul>
<p><a href="https://github.com/py-pdf/pypdf/compare/6.21.0...6.21.1">Full Changelog</a></p>
<h2>Version 6.21.0, 2026-10-16</h2>
<h3>Security (SEC)</h3>
<ul>
<li>Improve performance and limit field work (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4219">#4219</a>)</li>
<li>Limit stream parsing work (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4218">#4218</a>)</li>
</ul>
<h3>New Features (ENH)</h3>
<ul>
<li>Allow custom fit modes for named destinations (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4181">#4181</a>)</li>
</ul>
<h3>Bug Fixes (BUG)</h3>
<ul>
<li>Treat NUL as whitespace in ArrayObject (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4198">#4198</a>)</li>
<li>Avoid overwriting unread objects in add_form_topname (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4190">#4190</a>)</li>
<li>Read an indirect page box on a writer page (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4179">#4179</a>)</li>
</ul>
<p><a href="https://github.com/py-pdf/pypdf/compare/6.20.1...6.21.0">Full Changelog</a></p>
<h2>Version 6.20.1, 2026-10-12</h2>
<h3>Security (SEC)</h3>
<ul>
<li>Prevent cyclic tree handling (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4188">#4188</a>)</li>
</ul>
<h3>Bug Fixes (BUG)</h3>
<ul>
<li>Only read the color operator from a text field's default appearance (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4158">#4158</a>)</li>
</ul>
<p><a href="https://github.com/py-pdf/pypdf/compare/6.20.0...6.20.1">Full Changelog</a></p>
<h2>Version 6.20.0, 2026-10-09</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/py-pdf/pypdf/commit/37d05f6916262371f01460d9c1705ab48c9e3a45"><code>37d05f6</code></a> REL: 6.21.2</li>
<li><a href="https://github.com/py-pdf/pypdf/commit/68a0e5046cc9e14a6c24a21a713f3c7fbde18b4b"><code>68a0e50</code></a> SEC: Avoid repeated full file loads (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4240">#4240</a>)</li>
<li><a href="https://github.com/py-pdf/pypdf/commit/a3061e34b169d34478d520f5f049c53cfb1482b2"><code>a3061e3</code></a> SEC: Limit size of standard xref table (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4239">#4239</a>)</li>
<li><a href="https://github.com/py-pdf/pypdf/commit/b7eb7b9d6253876b2f0078651450ca1d4e0cb06b"><code>b7eb7b9</code></a> BUG: Decode UniGB-UTF16 CMaps as UTF-16BE (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4231">#4231</a>)</li>
<li><a href="https://github.com/py-pdf/pypdf/commit/885e7430cdf96b55b4ebaf2515e6efe46c396834"><code>885e743</code></a> ROB: Reject unsupported key lengths in the /Encrypt dictionary (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4226">#4226</a>)</li>
<li><a href="https://github.com/py-pdf/pypdf/commit/b68a335fcccac7989ac881331887cbccc85e2298"><code>b68a335</code></a> TST: Enable type checking for PageRange tests (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4229">#4229</a>)</li>
<li><a href="https://github.com/py-pdf/pypdf/commit/3f9c7f42f988ffab3b3f7d257592390cd592b48c"><code>3f9c7f4</code></a> ROB: Reject negative bfrange source ranges in /ToUnicode CMaps (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4225">#4225</a>)</li>
<li><a href="https://github.com/py-pdf/pypdf/commit/85c46ab70b65fdf9a3a56a984f654d0bd620d354"><code>85c46ab</code></a> ROB: Raise PdfReadError for malformed /ObjStm /N and /First headers (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4216">#4216</a>)</li>
<li><a href="https://github.com/py-pdf/pypdf/commit/a91817ac1f8d98c0a50540c6333ed9ca99f163ea"><code>a91817a</code></a> BUG: Keep 8-bit DeviceRGB image mode (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4230">#4230</a>)</li>
<li><a href="https://github.com/py-pdf/pypdf/commit/b32df1d4cad45ce58fdddcbf9ebcbe166c0a822d"><code>b32df1d</code></a> ROB: Validate the /Encrypt dictionary when opening an encrypted file (<a href="https://redirect.github.com/py-pdf/pypdf/issues/4197">#4197</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/py-pdf/pypdf/compare/6.19.0...6.21.2">compare view</a></li>
</ul>
</details>
<br />

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-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
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.
</details>