Nixpkgs security tracker

Login with GitHub

Details of issue NIXPKGS-2026-0505

NIXPKGS-2026-0505
published 3 months, 3 weeks ago
updated 3 months, 3 weeks ago by @LeSuisse Activity log
  • Created suggestion
  • @anthonyroussel ignored
    4 packages
    • capypdf
    • python312Packages.pypdf3
    • python313Packages.pypdf3
    • python314Packages.pypdf3
  • @anthonyroussel restored
    3 packages
    • python312Packages.pypdf3
    • python314Packages.pypdf3
    • python313Packages.pypdf3
  • @anthonyroussel ignored
    3 packages
    • python314Packages.pypdfium2
    • python313Packages.pypdfium2
    • python312Packages.pypdfium2
  • @LeSuisse accepted
  • @LeSuisse published on GitHub
Manipulated RunLengthDecode streams can exhaust RAM

pypdf is a free and open-source pure-python PDF library. Prior to version 6.7.4, an attacker who uses this vulnerability can craft a PDF which leads to large memory usage. This requires parsing the content stream using the RunLengthDecode filter. This has been fixed in pypdf 6.7.4. As a workaround, consider applying the changes from PR #3664.

Affected products

pypdf
  • ==< 6.7.4

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 (4)

pkgs.capypdf

Fully color managed PDF generation library

Package maintainers

Upstream advisory: https://github.com/kovidgoyal/calibre/security/advisories/GHSA-vhxc-r7v8-2xrw
Upstream patch: https://github.com/py-pdf/pypdf/commit/f309c6003746414dc7b5048c19e6d879ff2dc858