Heap-buffer overread via unchecked XRef entry count
Published Apr 22, 2023 · Updated Feb 4, 2025
Heap-buffer overread in PoDoFo 0.10.0 allows local users to read beyond an XRef stream buffer through a crafted PDF file. parseStream trusts the PDF /Index count and calls readXRefStreamEntry while less than a complete fixed-width entry remains in the buffer. Exploitation requires a local user to make a PoDoFo-linked application parse the file; the demonstrated result is an AddressSanitizer-detected overread, not code execution.
Summary
What happened
Heap-buffer overread in PoDoFo 0.10.0 allows local users to read beyond an XRef stream buffer through a crafted PDF file. parseStream trusts the PDF /Index count and calls readXRefStreamEntry while less than a complete fixed-width entry remains in the buffer. Exploitation requires a local user to make a PoDoFo-linked application parse the file; the demonstrated result is an AddressSanitizer-detected overread, not code execution.
The record
- CVE
- CVE-2023-2241
- Published
- Apr 22, 2023
- Updated
- Feb 4, 2025
- Vendor
- PoDoFo Project
- Product
- PoDoFo
- Classifications
- CWE-122, CWE-120, CWE-787
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Apr 22, 2023CVE publishedPublication date reported by the CVE source.
- Feb 4, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0.10.0
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- PoDoFo issue 69 proof-of-concept PDFproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo