Nixpkgs Security Tracker

Login with GitHub

Details of issue NIXPKGS-2026-0818

NIXPKGS-2026-0818
published on 28 Mar 2026
updated 1 day, 16 hours ago by @LeSuisse Activity log
  • Created automatic suggestion
  • @LeSuisse removed
    4 packages
    • capypdf
    • python312Packages.pypdfium2
    • python313Packages.pypdfium2
    • python314Packages.pypdfium2
  • @LeSuisse accepted
  • @LeSuisse published on GitHub
pypdf: Possible infinite loop during recovery attempts in DictionaryObject.read_from_stream

pypdf is a free and open-source pure-python PDF library. Versions prior to 6.9.2 have a vulnerability in which an attacker can craft a PDF which leads to an infinite loop. This requires reading a file in non-strict mode. This has been fixed in pypdf 6.9.2. If users cannot upgrade yet, consider applying the changes from the patch manually.

Affected products

pypdf
  • ==< 6.9.2

Matching in nixpkgs

Ignored packages (4)

Package maintainers

Advisory: https://github.com/py-pdf/pypdf/security/advisories/GHSA-87mj-5ggw-8qc3