NIXPKGS-2026-1960
GitHub issue
published 12 hours ago
pypdf: Possible infinite loop when processing outlines/bookmarks in writer
Permalink
CVE-2026-54531
6.9 MEDIUM
- CVSS version (CVSS): 4.0
- Attack Vector (AV): Local (L)
- Attack Complexity (AC): Low (L)
- Attack Requirement (AT): None (N)
- Privileges Required (PR): None (N)
- User Interaction (UI): None (N)
- Vulnerable System Impact Confidentiality (VC): None (N)
- Vulnerable System Impact Integrity (VI): None (N)
- Vulnerable System Impact Availability (VA): High (H)
- Subsequent System Impact Confidentiality (SC): None (N)
- Subsequent System Impact Integrity (SI): None (N)
- Subsequent System Impact Availability (SA): None (N)
- Modified Attack Vector (MAV): Local (L)
- Modified Attack Complexity (MAC): Low (L)
- Modified Attack Requirement (MAT): None (N)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): None (N)
- Modified Vulnerable System Impact Confidentiality (MVC): None (N)
- Modified Vulnerable System Impact Integrity (MVI): None (N)
- Modified Vulnerable System Impact Availability (MVA): High (H)
- Modified Subsequent System Impact Confidentiality (MSC): Negligible (N)
- Modified Subsequent System Impact Integrity (MSI): Negligible (N)
- Modified Subsequent System Impact Availability (MSA): Negligible (N)
- Safety (S): Not Defined (X)
- Automatable (AU): Not Defined (X)
- Recovery (R): Not Defined (X)
- Value Density (V): Not Defined (X)
- Vulnerability Response Effort (RE): Not Defined (X)
- Provider Urgency (U): Not Defined (X)
- Confidentiality Req. (CR): Not Defined (X)
- Integrity Req. (IR): Not Defined (X)
- Availability Req. (AR): Not Defined (X)
- Exploit Maturity (E): Not Defined (X)
by @LeSuisse Activity log
- Created suggestion
-
@LeSuisse
ignored
7 packages
- capypdf
- python313Packages.pypdf2
- python313Packages.pypdf3
- python314Packages.pypdf2
- python314Packages.pypdf3
- python313Packages.pypdfium2
- python314Packages.pypdfium2
- @LeSuisse accepted
- @LeSuisse published on GitHub
pypdf: Possible infinite loop when processing outlines/bookmarks in writer
pypdf is a free and open-source pure-python PDF library. Prior to 6.13.0, an attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires merging a file with outlines into a writer. This vulnerability is fixed in 6.13.0.
References
-
https://github.com/py-pdf/pypdf/security/advisories/GHSA-m2v9-299j-rv96 x_refsource_CONFIRM
-
https://github.com/py-pdf/pypdf/pull/3830 x_refsource_MISC
-
https://github.com/py-pdf/pypdf/releases/tag/6.13.0 x_refsource_MISC
Affected products
pypdf
- ==< 6.13.0
Matching in nixpkgs
pkgs.python313Packages.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
pkgs.python313Packages.pypdf2
Pure-Python library built as a PDF toolkit
pkgs.python313Packages.pypdf3
Pure-Python library built as a PDF toolkit
pkgs.python314Packages.pypdf2
Pure-Python library built as a PDF toolkit
pkgs.python314Packages.pypdf3
Pure-Python library built as a PDF toolkit
pkgs.python313Packages.pypdfium2
Python bindings to PDFium
Package maintainers
-
@javaes Jan van Esdonk <jan+dev@vanesdonk.de>