Bugzilla – Bug 1094315
VUL-1: CVE-2018-11254: podofo: Excessive Recursion in the PdfPagesTree::GetPageNode() function of PdfPagesTree.cpp
Last modified: 2019-10-31 08:21:26 UTC
Created attachment 771078 [details] Reproducer An issue was discovered in PoDoFo 0.9.5. There is an Excessive Recursion in the PdfPagesTree::GetPageNode() function of PdfPagesTree.cpp. Remote attackers could leverage this vulnerability to cause a denial of service through a crafted pdf file, a related issue to CVE-2017-8054. Product bug: https://bugzilla.redhat.com/show_bug.cgi?id=1576174 References: https://bugzilla.redhat.com/show_bug.cgi?id=1581281
kbabioch@sle12sp3:~> gdb podofomerge GNU gdb (GDB; SUSE Linux Enterprise 12) 8.0.1 Copyright (C) 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-suse-linux". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://bugs.opensuse.org/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from podofomerge...(no debugging symbols found)...done. Missing separate debuginfos, use: zypper install podofo-debuginfo-0.9.2-1.58.x86_64 (gdb) r crash.pdf crash.pdf out.pdf Starting program: /usr/bin/podofomerge crash.pdf crash.pdf out.pdf [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Reading file: crash.pdf WARNING: Count of readobject is 17. Expected 28. Error 12 occurred! PoDoFo encounter an error. Error: 12 ePdfError_NoXRef Error Description: No XRef table was found in the PDF file. Callstack: #0 Error Source: /home/abuild/rpmbuild/BUILD/podofo-0.9.2/src/base/PdfParser.cpp:213 Information: Unable to load objects from file. #1 Error Source: /home/abuild/rpmbuild/BUILD/podofo-0.9.2/src/base/PdfParser.cpp:319 Information: Unable to load xref entries. #2 Error Source: /home/abuild/rpmbuild/BUILD/podofo-0.9.2/src/base/PdfParser.cpp:684 #3 Error Source: /home/abuild/rpmbuild/BUILD/podofo-0.9.2/src/base/PdfParser.cpp:771 [Inferior 1 (process 13941) exited with code 014]
leap 42 and sle12 not affected. leap 15.0 and tumbleweed affected.
was fixed with 0.9.6 update.