Skip to content

chore(deps): update dependency pypdf to v6.21.4 [security] - #566

Merged
lgecse merged 1 commit into
mainfrom
renovate/pypi-pypdf-vulnerability
Nov 2, 2026
Merged

lgecse merged 1 commit into
mainfrom
renovate/pypi-pypdf-vulnerability

Conversation

@agntcy-automation

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
pypdf (changelog) 6.21.2 → 6.21.4 age confidence

pypdf has possible long runtimes when retrieving page labels

CVE-2026-119206 / GHSA-42gh-23hr-vphw

More information

Details

Impact

An attacker who uses this vulnerability can craft a PDF which leads to large runtimes. This requires retrieving the page labels of a file.

Patches

This has been fixed in pypdf==6.21.3.

Workarounds

If you cannot upgrade yet, consider applying the changes from PR #​4251.

Severity

  • CVSS Score: 7.1 / 10 (High)
  • Vector String: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

References

This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).


pypdf has possible large memory usage for exceptions in strict mode

CVE-2026-119207 / GHSA-4vqv-7265-gm2w

More information

Details

Impact

An attacker who uses this vulnerability can craft a PDF which leads to large memory usage. This requires loading an invalid dictionary.

Patches

This has been fixed in pypdf==6.21.3.

Workarounds

If you cannot upgrade yet, consider applying the changes from PR #​4265.

Severity

  • CVSS Score: 7.1 / 10 (High)
  • Vector String: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

References

This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).


pypdf has possible long runtimes/large memory usage for encrypted PDF files

CVE-2026-119208 / GHSA-62m5-6wh8-28x7

More information

Details

Impact

An attacker who uses this vulnerability can craft a PDF which leads to large runtimes/memory usage. This requires accessing the page count of an encrypted PDF file, which itself declares a wrong /Count value.

Patches

This has been fixed in pypdf==6.21.3.

Workarounds

If you cannot upgrade yet, consider applying the changes from PR #​4270.

Severity

  • CVSS Score: 7.1 / 10 (High)
  • Vector String: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

References

This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).


pypdf has possible large memory usage when parsing cross-reference streams

CVE-2026-119209 / GHSA-x3rh-gjgm-fmqc

More information

Details

Impact

An attacker who uses this vulnerability can craft a PDF which leads to large memory usage. This requires opening a file with cross-reference streams.

Patches

This has been fixed in pypdf==6.21.3.

Workarounds

If you cannot upgrade yet, consider applying the changes from PR #​4269.

Severity

  • CVSS Score: 7.1 / 10 (High)
  • Vector String: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

References

This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).


pypdf has possible infinite loop when hitting EOF in standard xref table during trailer search

CVE-2026-119203 / GHSA-5849-834g-hvw5

More information

Details

Impact

An attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires opening an incomplete file without a trailer.

Patches

This has been fixed in pypdf==6.21.4.

Workarounds

If you cannot upgrade yet, consider applying the changes from PR #​4289.

Severity

  • CVSS Score: 7.1 / 10 (High)
  • Vector String: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

References

This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).


pypdf has possible large memory usage when parsing page tree

CVE-2026-119204 / GHSA-cggf-277g-3q54

More information

Details

Impact

An attacker who uses this vulnerability can craft a PDF which leads to large memory usage. This requires parsing the page tree with many shared resources.

Patches

This has been fixed in pypdf==6.21.4.

Workarounds

If you cannot upgrade yet, consider applying the changes from PR #​4290.

Severity

  • CVSS Score: 7.1 / 10 (High)
  • Vector String: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

References

This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).


pypdf has possible infinite loop when cloning dictionaries

CVE-2026-119205 / GHSA-mfr5-77xh-9j7h

More information

Details

Impact

An attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires cloning/duplicating a DictionaryObject.

Patches

This has been fixed in pypdf==6.21.4.

Workarounds

If you cannot upgrade yet, consider applying the changes from PR #​4288.

Severity

  • CVSS Score: 7.1 / 10 (High)
  • Vector String: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

References

This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).


Release Notes

py-pdf/pypdf (pypdf)

v6.21.4

Compare Source

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)

Full Changelog

v6.21.3

Compare Source

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)

Full Changelog

@agntcy-automation
agntcy-automation Bot requested a review from a team as a code owner October 31, 2026 06:02
@agntcy-automation
agntcy-automation Bot requested review from hmuyal and removed request for a team October 31, 2026 06:03
@lgecse
lgecse merged commit b539c74 into main Nov 2, 2026
6 checks passed
@lgecse
lgecse deleted the renovate/pypi-pypdf-vulnerability branch November 2, 2026 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant