Improper input validation in PyPDF - CVE-2023-46250

 

Improper input validation in PyPDF - CVE-2023-46250

Published: October 29, 2023 / Updated: April 10, 2026


Vulnerability identifier: #VU125805
CSH Severity: Low
CVSSv4.0: CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2023-46250
CWE-ID: CWE-20
Exploitation vector: Local access
Exploit availability: No public exploit available
Vulnerable software:
PyPDF
Software vendor:
Pypdf Project

Description

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to improper input validation in PdfWriter(clone_from) when processing a crafted PDF. A remote attacker can supply a specially crafted PDF to cause a denial of service.

The issue can be triggered when a malicious PDF is manipulated, such as during merging with another PDF or when adding annotations.


Remediation

Install security update from vendor's website.

External links