Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft PDF with malformed Indexed image
-
DeliveryDeliver file to victim
-
ExploitVictim opens in PoDoFo-based app
-
ExecutionOut-of-bounds palette read in FetchScanLine
-
ImpactHeap data disclosure or application crash
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK
1 technique across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a victim application built on PoDoFo 1.0.0-1.1.0 to process a crafted PDF that embeds an Indexed color-space image with a pixel index greater than or equal to m_MapSize and with hival metadata outside the expected range (exploiting the incorrect conjunction and missing upper bound in TryCreateFromObject). The attack is LOCAL (the file must be handed to and processed by the target application) and requires passive user interaction (UI:P) - the victim must open or render the malicious PDF. No authentication is required (PR:N). Limiting factors: the flaw is reached only when the Indexed image scanlines are actually decoded/fetched, exploitation is not remote/network-triggered by default, and the practical outcome is dominated by a crash (DoS) with only adjacent heap bytes potentially disclosed rather than targeted secret exfiltration. |
| Impact | This is a memory-safety flaw (CWE-125 out-of-bounds read) in the PoDoFo PDF library's Indexed color-space handling, best characterized as a moderate DoS with a minor information-disclosure component rather than a high-priority remote-exploitation risk. The vendor CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H = 6.9) is internally consistent with the description: exploitation is LOCAL (a victim application must process an attacker-supplied file), requires PASSIVE user interaction (UI:P - opening/rendering the PDF), and yields high availability impact (VA:H, application crash) plus low confidentiality impact (VC:L, disclosure of adjacent heap bytes). There is no integrity impact and no scope change. Exploitation status: no public exploit identified at time of analysis - there is no EPSS score, no CISA KEV listing, and no published POC in the provided data. However, the GitHub security advisory (GHSA-f3j2-7846-h5gg) and the fix commit diff are public, and the diff plus the detailed root-cause description effectively constitute an exploitation recipe (craft an Indexed image whose pixel index exceeds m_MapSize, with hival metadata that bypasses the faulty conjunction check). No SSVC decision data is provided. Net: real but low-urgency - the local/UI-gated vector and DoS-dominant impact keep real-world risk well below the raw score's implication. |
| Exploit ScenarioDerived | An attacker crafts a malicious PDF containing an Indexed color-space image whose pixel indices reference beyond the palette (m_lookup) array and whose hival metadata is set outside the valid range to slip past the flawed validation. A victim opens or renders this PDF in an application built on PoDoFo 1.0.0-1.1.0; during scanline fetching the library reads out of bounds, either crashing the application or leaking adjacent heap bytes into the decoded image output. No public exploit code is currently identified, but the fix commit and advisory disclose the mechanism in detail. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 17, 2026
Heap out-of-bounds read in the PoDoFo C++ PDF library (versions 1.0.0 through 1.1.0) lets a crafted PDF containing an Indexed color-space image cause the library to read past the end of its palette lookup buffer. An attacker must convince a victim to hand the malicious PDF to an application built on the affected library and have that application decode or render the embedded Indexed image; no authentication is required (CVSS 4.0 vector PR:N, AV:L, UI:P), and the practical impact is dominated by a process crash leading to denial of service, with only adjacent heap bytes potentially disclosed rather than targeted secret exfiltration. Exploitation yields a limited confidentiality gain and a high availability impact; no public exploit code has been identified at time of analysis and there is no CISA KEV entry. The flaw is fixed in PoDoFo 1.1.1.
RemediationAI
Primary fix: upgrade PoDoFo to 1.1.1, the first release containing the corrected code, which clamps out-of-range pixel indices in FetchScanLine and properly validates hival in PdfColorSpaceFilterFactory::TryCreateFromObject (see https://github.com/podofo/podofo/releases/tag/1.1.1 and advisory GHSA-f3j2-7846-h5gg). Downstream integrators who cannot immediately take the release can cherry-pick commit 999c519d285c4a65eba48409d9cd2da9d4743cca (https://github.com/podofo/podofo/commit/999c519d285c4a65eba48409d9cd2da9d4743cca); note that upstream fix available via PR/commit is not a substitute for the tagged 1.1.1 build and should be regression-tested against non-indexed color spaces. If patching cannot be scheduled, isolate the parsing workload: run PDF rendering/conversion in a subprocess or sandbox with a hard memory limit and crash containment so that an out-of-bounds read or abort does not take down the parent service; the trade-off is added process-management complexity and per-document overhead. Restrict ingestion of untrusted PDFs to vetted sources until the library is upgraded, and prefer deployments where PDF parsing is performed by a low-privilege service account, accepting that this does not remove the availability risk. Do not rely on build-time assertion controls: PODOFO_INVARIANT provides no protection in release builds, so re-enabling assertions is a debugging aid, not a mitigation.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The issue is a classic CWE-125 out-of-bounds read rooted in incorrect handling of PDF Indexed color spaces. In PDF, an Indexed color space defines a lookup table (m_lookup in PoDoFo's PdfColorSpaceFilterIndexed) plus a "hival" value that establishes the maximum valid palette index (m_MapSize). During scanline decoding, PdfColorSpaceFilterIndexed::FetchScanLine computes the mapped color as m_lookup.data() + pixelIndex * 3 and relies on PODOFO_INVARIANT(srcScanLine[i] < m_MapSize) to guarantee the index is in range. PODOFO_INVARIANT compiles out in release builds, so it performs no runtime bounds check; a pixel index greater than or equal to m_MapSize therefore reads beyond the lookup buffer. A second, independent defect amplifies the problem in PdfColorSpaceFilterFactory::TryCreateFromObject: the hival validation uses an incorrect conjunction (&& instead of ||) and imposes no upper bound, so malformed Indexed color-space metadata outside the expected range is accepted and m_MapSize can be established incorrectly. The commit 999c519d285c4a65eba48409d9cd2da9d4743cca addresses both: it clamps the color index to m_MapSize - 1 before the lookup, and rewrites the validator as !arr->MustFindAt(2).TryGetNumber(maxIndex) || maxIndex < 1 || maxIndex > 255. The affected CPE (if any) was not supplied in the input data; the vulnerable component is specifically the color-space filter source file src/podofo/main/PdfColorSpaceFilter.cpp in the PoDoFo codebase.
Know when Podofo gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N
File processed locally by victim app (AV:L, UI:R), no auth (PR:N); low confidentiality from adjacent-heap disclosure (C:L) and high availability from crash (A:H), no integrity impact.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
1DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Heap-based buffer overflow in the PdfParser::ReadObjects function in base/PdfParser.cpp in PoDoFo 0.9.5 allows remote at
Podofo v0.10.0 was discovered to contain a heap buffer overflow via the component PoDoFo::PdfEncryptRC4::PdfEncryptRC4.
Podofo v0.10.0 was discovered to contain a heap buffer overflow via the component PoDoFo::PdfEncryptAESV3::PdfEncryptAES
Podofo v0.10.0 was discovered to contain a heap-use-after-free via the component PoDoFo::PdfEncrypt::IsMetadataEncrypted
PoDoFo::Impose::PdfTranslator::setSource() in pdftranslator.cpp in PoDoFo 0.9.6 has a NULL pointer dereference that can
A NULL pointer dereference vulnerability exists in the function PdfTranslator::setTarget() in pdftranslator.cpp of PoDoF
In PoDoFo 0.9.5, there exists an infinite loop vulnerability in PdfParserObject::ParseFileComplete() in PdfParserObject.
In PoDoFo 0.9.5, there exists a heap-based buffer overflow vulnerability in PoDoFo::PdfTokenizer::GetNextToken() in PdfT
A heap-use-after free in the PdfTokenizer::ReadDictionary function of podofo v0.10.0 to v0.10.5 allows attackers to caus
A flaw was found in PoDoFo 0.9.7. Rated high severity (CVSS 7.8), this vulnerability is no authentication required, low
A stack-based buffer over-read in the PdfEncryptMD5Base::ComputeEncryptionKey() function in PdfEncrypt.cpp in PoDoFo 0.9
PoDoFo 0.9.5 does not properly validate memcpy arguments in the PdfMemoryOutputStream::Write function (base/PdfOutputStr
EUVD-2026-82560
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB