GNOME Bugzilla – Bug 702288
Stack buffer overflow on a corrupted (fuzzed) ods file in print_info_load_defaults
Last modified: 2013-06-15 07:23:27 UTC
Stack buffer overflow on a corrupted (fuzzed) ods file in print_info_load_defaults. Git versions of glib, goffice, gnumeric, libgsf and libxml2. Test case: http://jutaky.com/fuzzing/gnumeric_case_15001_331.ods Program received signal SIGSEGV, Segmentation fault. 0x00007ffff795e27b in print_info_load_defaults (res=0xe61491b3) at print-info.c:305 305 if (res->page_setup != NULL) (gdb) bt
+ Trace 232066
-- Juha Kylmänen Research Assistant, OUSPG ps. I would greatly appreciate if my group and I got credit in the NEWS file as "Juha Kylmänen from OUSPG" for bugs 702101, 702126, 702182, 702197, 702205, 702218, 702219, 702267, 702277, 702285 and this one if this is a valid bug.
We'll get you credit somewhere, somehow. Normally that would be in the release announcement, but I need that space for an obituary. Is there a (relevant) link to the group? ==5625== Conditional jump or move depends on uninitialised value(s) ==5625== at 0x159A1077: odf_page_layout_properties (openoffice-read.c:5564) ==5625== by 0x6B79938: lookup_child (gsf-libxml.c:684) ==5625== by 0x6B79D06: gsf_xml_in_start_element (gsf-libxml.c:758) ==5625== by 0x6DF0447: xmlParseStartTag (in /usr/lib/x86_64-linux-gnu/libxml2.so.2.9.0) ==5625== by 0x6DFB747: xmlParseElement (in /usr/lib/x86_64-linux-gnu/libxml2.so.2.9.0) ==5625== by 0x6DFA347: xmlParseContent (in /usr/lib/x86_64-linux-gnu/libxml2.so.2.9.0) ==5625== by 0x6DFB662: xmlParseElement (in /usr/lib/x86_64-linux-gnu/libxml2.so.2.9.0) ==5625== by 0x6DFA347: xmlParseContent (in /usr/lib/x86_64-linux-gnu/libxml2.so.2.9.0) ==5625== by 0x6DFB662: xmlParseElement (in /usr/lib/x86_64-linux-gnu/libxml2.so.2.9.0) ==5625== by 0x6DFA347: xmlParseContent (in /usr/lib/x86_64-linux-gnu/libxml2.so.2.9.0) ==5625== by 0x6DFB662: xmlParseElement (in /usr/lib/x86_64-linux-gnu/libxml2.so.2.9.0) ==5625== by 0x6DFC631: xmlParseDocument (in /usr/lib/x86_64-linux-gnu/libxml2.so.2.9.0) ==5625== by 0x6B7B39A: gsf_xml_in_doc_parse (gsf-libxml.c:1280) ==5625== by 0x159B2AC5: openoffice_file_open (openoffice-read.c:12016) ==5625== by 0x53B4BC2: go_plugin_file_opener_open (go-plugin-service.c:685) ==5625== by 0x4F9260E: workbook_view_new_from_input (workbook-view.c:1272) ==5625== by 0x4F9285C: workbook_view_new_from_uri (workbook-view.c:1332) ==5625== by 0x4033FC: main (main-application.c:321)
Credit in the release announcement would be nice. Link: https://www.ee.oulu.fi/research/ouspg/
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.