5.1 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): Low (L)
- 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): Low (L)
- 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)
Activity log
- Created suggestion
pypdf: Possible long runtimes for zero-only width values in cross-reference streams
pypdf is a free and open-source pure-python PDF library. Prior to 6.12.0, an attacker who uses this vulnerability can craft a PDF which leads to long runtimes. This requires cross-reference streams with /W [0 0 0] values and large /Size values. This vulnerability is fixed in 6.12.0.
References
-
https://github.com/py-pdf/pypdf/security/advisories/GHSA-248m-82v9-q6g6 x_refsource_CONFIRM
-
https://github.com/py-pdf/pypdf/pull/3791 x_refsource_MISC
-
https://github.com/py-pdf/pypdf/releases/tag/6.12.0 x_refsource_MISC
Affected products
- ==< 6.12.0
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.python314Packages.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-25.11 pypdf2-3.0.1
- nixos-25.11-small pypdf2-3.0.1
- nixpkgs-25.11-darwin pypdf2-3.0.1
pkgs.python312Packages.pypdf3
Pure-Python library built as a PDF toolkit
-
nixos-25.11 pypdf3-1.0.6
- nixos-25.11-small pypdf3-1.0.6
- nixpkgs-25.11-darwin 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
-
nixos-25.11 pypdf2-3.0.1
- nixos-25.11-small pypdf2-3.0.1
- nixpkgs-25.11-darwin 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
-
nixos-25.11 pypdf3-1.0.6
- nixos-25.11-small pypdf3-1.0.6
- nixpkgs-25.11-darwin pypdf3-1.0.6
pkgs.python314Packages.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.python314Packages.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-25.11 pypdfium2-5.0.0
- nixos-25.11-small pypdfium2-5.0.0
- nixpkgs-25.11-darwin pypdfium2-5.0.0
pkgs.python313Packages.pypdfium2
Python bindings to PDFium
-
nixos-unstable pypdfium2-5.7.0
- nixpkgs-unstable pypdfium2-5.7.0
- nixos-unstable-small pypdfium2-5.7.0
-
nixos-25.11 pypdfium2-5.0.0
- nixos-25.11-small pypdfium2-5.0.0
- nixpkgs-25.11-darwin pypdfium2-5.0.0
pkgs.python314Packages.pypdfium2
Python bindings to PDFium
-
nixos-unstable pypdfium2-5.7.0
- nixpkgs-unstable pypdfium2-5.7.0
- nixos-unstable-small pypdfium2-5.7.0
Package maintainers
-
@jtojnar Jan Tojnar <jtojnar@gmail.com>
-
@javaes Jan van Esdonk <jan+dev@vanesdonk.de>
-
@ambroisie Bruno BELANYI <bruno.nixpkgs@belanyi.fr>
-
@booxter Ihar Hrachyshka <ihar.hrachyshka@gmail.com>