pypdf has possible Infinite Loop when processing outlines/bookmarks
pypdf is a free and open-source pure-python PDF library. An attacker who uses an infinite loop vulnerability that is present in versions prior to 6.6.2 can craft a PDF which leads to an infinite loop. This requires accessing the outlines/bookmarks. This has been fixed in pypdf 6.6.2. If projects cannot upgrade yet, consider applying the changes from PR #3610 manually.
References
-
https://github.com/py-pdf/pypdf/pull/3610 x_refsource_MISC
-
https://github.com/py-pdf/pypdf/releases/tag/6.6.2 x_refsource_MISC
-
https://github.com/py-pdf/pypdf/security/advisories/GHSA-2q4j-m29v-hq73 x_refsource_CONFIRM
Affected products
- ==< 6.6.2
Matching in nixpkgs
pkgs.capypdf
Fully color managed PDF generation library
pkgs.python312Packages.pypdf
Pure-python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files
pkgs.python313Packages.pypdf
Pure-python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files
pkgs.python312Packages.pypdf2
Pure-Python library built as a PDF toolkit
-
nixos-unstable pypdf2-3.0.1
- nixpkgs-unstable pypdf2-3.0.1
- nixos-unstable-small pypdf2-3.0.1
pkgs.python312Packages.pypdf3
Pure-Python library built as a PDF toolkit
-
nixos-unstable pypdf3-1.0.6
- nixpkgs-unstable pypdf3-1.0.6
- nixos-unstable-small pypdf3-1.0.6
pkgs.python313Packages.pypdf2
Pure-Python library built as a PDF toolkit
-
nixos-unstable pypdf2-3.0.1
- nixpkgs-unstable pypdf2-3.0.1
- nixos-unstable-small pypdf2-3.0.1
pkgs.python313Packages.pypdf3
Pure-Python library built as a PDF toolkit
-
nixos-unstable pypdf3-1.0.6
- nixpkgs-unstable pypdf3-1.0.6
- nixos-unstable-small pypdf3-1.0.6
pkgs.python312Packages.pypdfium2
Python bindings to PDFium
-
nixos-unstable pypdfium2-5.0.0
- nixpkgs-unstable pypdfium2-5.0.0
- nixos-unstable-small pypdfium2-5.1.0
pkgs.python313Packages.pypdfium2
Python bindings to PDFium
-
nixos-unstable pypdfium2-5.0.0
- nixpkgs-unstable pypdfium2-5.0.0
- nixos-unstable-small pypdfium2-5.1.0
Package maintainers
-
@jtojnar Jan Tojnar <jtojnar@gmail.com>
-
@javaes Jan van Esdonk <jan+dev@vanesdonk.de>
-
@desiderius Didier J. Devroye <didier@devroye.name>
-
@ambroisie Bruno BELANYI <bruno.nixpkgs@belanyi.fr>
-
@booxter Ihar Hrachyshka <ihar.hrachyshka@gmail.com>