Skip to main content

PoDoFo CVE-2026-54633

| EUVDEUVD-2026-82560 MEDIUM
Out-of-bounds Read (CWE-125)
2026-09-17 security-advisories@github.com
6.9
CVSS 4.0 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft PDF with malformed Indexed image
  2. Delivery
    Deliver file to victim
  3. Exploit
    Victim opens in PoDoFo-based app
  4. Execution
    Out-of-bounds palette read in FetchScanLine
  5. Impact
    Heap 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

PoDoFo 1.0.0, < 1.1.1

Affected Packages

euvd podofo_1_0_0 fix: 1.1.1

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

Vendor (github) PRIMARY 6.9 MEDIUM
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
vuln.today AI 6.1 MEDIUM

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.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Sep 17, 2026 - 23:04 EUVD

DescriptionCVE.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

EPSS Score
0.1%
Top 97% exploitable
Prevalence
Medium
widely-used open-source C++ PDF library embedded in many applications, but not ubiquitous
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

More in Podofo

View all
CVE-2017-8378 CRITICAL POC
9.8 May 01

Heap-based buffer overflow in the PdfParser::ReadObjects function in base/PdfParser.cpp in PoDoFo 0.9.5 allows remote at

CVE-2023-31568 HIGH POC
8.8 May 10

Podofo v0.10.0 was discovered to contain a heap buffer overflow via the component PoDoFo::PdfEncryptRC4::PdfEncryptRC4.

CVE-2023-31567 HIGH POC
8.8 May 10

Podofo v0.10.0 was discovered to contain a heap buffer overflow via the component PoDoFo::PdfEncryptAESV3::PdfEncryptAES

CVE-2023-31566 HIGH POC
8.8 May 10

Podofo v0.10.0 was discovered to contain a heap-use-after-free via the component PoDoFo::PdfEncrypt::IsMetadataEncrypted

CVE-2019-9199 HIGH POC
8.8 Feb 26

PoDoFo::Impose::PdfTranslator::setSource() in pdftranslator.cpp in PoDoFo 0.9.6 has a NULL pointer dereference that can

CVE-2018-19532 HIGH POC
8.8 Nov 26

A NULL pointer dereference vulnerability exists in the function PdfTranslator::setTarget() in pdftranslator.cpp of PoDoF

CVE-2018-8002 HIGH POC
8.8 Mar 09

In PoDoFo 0.9.5, there exists an infinite loop vulnerability in PdfParserObject::ParseFileComplete() in PdfParserObject.

CVE-2018-8000 HIGH POC
8.8 Mar 09

In PoDoFo 0.9.5, there exists a heap-based buffer overflow vulnerability in PoDoFo::PdfTokenizer::GetNextToken() in PdfT

CVE-2025-46205 HIGH POC
8.1 Oct 01

A heap-use-after free in the PdfTokenizer::ReadDictionary function of podofo v0.10.0 to v0.10.5 allows attackers to caus

CVE-2021-30472 HIGH POC
7.8 May 26

A flaw was found in PoDoFo 0.9.7. Rated high severity (CVSS 7.8), this vulnerability is no authentication required, low

CVE-2018-12983 HIGH POC
7.8 Jun 29

A stack-based buffer over-read in the PdfEncryptMD5Base::ComputeEncryptionKey() function in PdfEncrypt.cpp in PoDoFo 0.9

CVE-2018-5308 HIGH POC
7.8 Jan 09

PoDoFo 0.9.5 does not properly validate memcpy arguments in the PdfMemoryOutputStream::Write function (base/PdfOutputStr

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy