
Cloud Vulnerability DB
A community-led vulnerabilities database
QPDF v8.4.2 was discovered to contain a heap buffer overflow vulnerability in the QPDF::processXRefStream function. The vulnerability was identified in May 2022 and tracked as CVE-2022-34503. This security flaw affects the core functionality of QPDF, a command-line tool and library for structural, content-preserving transformations of PDF files (NVD, Debian Tracker).
The vulnerability occurs in the processXRefStream function where a buffer overflow can be triggered when processing PDF cross-reference streams. The issue arises when the expectedsize is less than the actualsize, which only generates a warning without throwing an exception. The overflow occurs in a nested loop structure where entry is incremented by entry_size in the outer loop, and an inner loop iterates over a range causing the final overflow to exceed the allocated buffer size of 38 bytes (GitHub Issue).
This heap buffer overflow vulnerability could allow attackers to cause memory corruption, potentially leading to program crashes or arbitrary code execution. The vulnerability affects systems where QPDF v8.4.2 is installed and processing PDF files (NVD).
The vulnerability was addressed in versions after QPDF v8.4.2. Users should upgrade to a newer version of QPDF to mitigate this vulnerability (Debian Tracker).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."