Heap Out-of-Bounds Read Vulnerability in PoDoFo PDF Library
CVE-2026-54633
What is CVE-2026-54633?
The PoDoFo library, a C++17 PDF manipulation tool, is susceptible to a vulnerability that arises during the processing of specially crafted PDFs containing Indexed color-space images. This flaw can trigger a heap out-of-bounds read in the function PdfColorSpaceFilterIndexed::FetchScanLine, allowing access to adjacent heap data or potentially causing the processing application to crash. This occurs due to inadequate runtime checks on pixel index values, which can exceed the defined limits. Additionally, the validation of the high-value index in the PdfColorSpaceFilterFactory::TryCreateFromObject method does not incorporate the necessary upper bounds, further exposing the application to this security risk. The issue has been resolved in version 1.1.1 of the library.
Affected Version(s)
podofo >= 1.0.0, < 1.1.1
