Nixpkgs security tracker

Try the new UI
Login with GitHub

Details of issue NIXPKGS-2026-0408

NIXPKGS-2026-0408
published 6 months, 3 weeks ago
updated 6 months, 3 weeks ago by @LeSuisse Activity log
  • Created suggestion
  • @LeSuisse ignored
    7 packages
    • capypdf
    • python314Packages.pypdfium2
    • python313Packages.pypdfium2
    • python312Packages.pypdfium2
    • python314Packages.pypdf3
    • python313Packages.pypdf3
    • python312Packages.pypdf3
  • @LeSuisse accepted
  • @LeSuisse published on GitHub
pypdf has a possible infinite loop when loading circular /Prev entries in cross-reference streams

pypdf is a free and open-source pure-python PDF library. Prior to 6.7.2, an attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires reading the file. This has been fixed in pypdf 6.7.2. As a workaround, one may apply the patch manually.

Affected products

pypdf
  • ==< 6.7.2

Matching in nixpkgs

pkgs.python313Packages.pypdf

Pure-python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files

pkgs.python314Packages.pypdf

Pure-python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files

Ignored packages (7)

pkgs.capypdf

Fully color managed PDF generation library

Package maintainers

Upstream advisory: https://github.com/py-pdf/pypdf/security/advisories/GHSA-2rw7-x74f-jg35
Upstream patch: https://github.com/py-pdf/pypdf/commit/0fbd95938724ad2d72688d4112207c0590f0483f