After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 705353 - Segfault in xl_chart_read_axislineformat on a fuzzed xls file
Segfault in xl_chart_read_axislineformat on a fuzzed xls file
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: import/export MS Excel (tm)
git master
Other Linux
: Normal critical
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2013-08-02 13:44 UTC by jutaky
Modified: 2013-08-02 17:49 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description jutaky 2013-08-02 13:44:44 UTC
Segfault in xl_chart_read_axislineformat on a fuzzed xls file.

Git versions of glib, goffice, gnumeric, libgsf and libxml2.

Test case: http://jutaky.com/fuzzing/gnumeric_case_15786_54547.xls


Program received signal SIGSEGV, Segmentation fault.
0x00007fffe6d74eab in xl_chart_read_axislineformat (handle=0x7fffe6fe29f0 <handle.65754>, s=0x7fffffffdc00, q=0x7f5800)
    at ms-chart.c:646
646					if (0 == (0x4 & GSF_LE_GET_GUINT16 (q->data+8)))
(gdb) bt
  • #0 xl_chart_read_axislineformat
    at ms-chart.c line 646
  • #1 ms_excel_chart_read
    at ms-chart.c line 3638
  • #2 ms_excel_chart_read_BOF
    at ms-chart.c line 3866
  • #3 ms_read_OBJ
    at ms-obj.c line 1308
  • #4 ms_escher_read_ClientData
    at ms-escher.c line 2044
  • #5 ms_escher_read_container
    at ms-escher.c line 2152
  • #6 ms_escher_read_SpContainer
    at ms-escher.c line 550
  • #7 ms_escher_read_container
    at ms-escher.c line 2152
  • #8 ms_escher_read_SpgrContainer
    at ms-escher.c line 1984
  • #9 ms_escher_read_container
    at ms-escher.c line 2152
  • #10 ms_escher_read_DgContainer
    at ms-escher.c line 1989
  • #11 ms_escher_read_container
    at ms-escher.c line 2152
  • #12 ms_escher_parse
    at ms-escher.c line 2219
  • #13 excel_read_sheet
    at ms-excel-read.c line 6703
  • #14 excel_read_BOF
    at ms-excel-read.c line 6995
  • #15 excel_read_workbook
    at ms-excel-read.c line 7085
  • #16 excel_enc_file_open
    at boot.c line 193
  • #17 excel_file_open
    at boot.c line 250
  • #18 go_plugin_loader_module_func_file_open
    at app/go-plugin-loader-module.c line 282
  • #19 go_plugin_file_opener_open
    at app/go-plugin-service.c line 685
  • #20 go_file_opener_open
    at app/file.c line 417
  • #21 workbook_view_new_from_input
    at workbook-view.c line 1272
  • #22 workbook_view_new_from_uri
    at workbook-view.c line 1332
  • #23 main
    at main-application.c line 321

--
Juha Kylmänen
Research Assistant, OUSPG
Comment 1 Jean Bréfort 2013-08-02 17:49:35 UTC
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.