Skip to content
OpenAdvisories
Medium · 6.9 CVE-2026-54633 EUVD-2026-82560

PoDoFo: Heap Out-of-Bounds Read in Indexed Color Space Image Decoding (FetchScanLine)

Published Sep 17, 2026 · Updated Sep 22, 2026 · Assigned by GitHub_M

Description

PoDoFo is a C++17 PDF manipulation library. From version 1.0.0 until 1.1.1, processing a crafted PDF with an Indexed color-space image can cause a heap out-of-bounds read in PdfColorSpaceFilterIndexed::FetchScanLine in src/podofo/main/PdfColorSpaceFilter.cpp. PODOFO_INVARIANT does not perform a runtime check, so a pixel index greater than or equal to m_MapSize can address beyond m_lookup. PdfColorSpaceFilterFactory::TryCreateFromObject also validates hival with an incorrect conjunction and no upper bound, allowing malformed Indexed color-space metadata outside the expected range. The resulting read can disclose adjacent heap data or crash the processing application. This issue is fixed in version 1.1.1.

Affected products

VendorProductAffectedFixed
podofo podofo >= 1.0.0, < 1.1.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.10 libpodofo No fix yet —
Ubuntu 26.04 LTS libpodofo No fix yet —
Ubuntu 24.04 LTS libpodofo No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS libpodofo No fix yet —
Ubuntu Pro 16.04 LTS libpodofo No fix yet —
Ubuntu Pro 14.04 LTS libpodofo No fix yet —

References