{"id":"CVE-2017-8358","aliases":["EUVD-2017-17318","GHSA-vw4f-g2ch-x868","SUSE-SU-2017:1821-1","SUSE-SU-2017:2315-1","openSUSE-SU-2024:10983-1"],"status":"published","title":"LibreOffice before 2017-03-17 has an out-of-bounds write caused by a heap-based buffer overflow...","description":"LibreOffice before 2017-03-17 has an out-of-bounds write caused by a heap-based buffer overflow related to the ReadJPEG function in vcl/source/filter/jpeg/jpegc.cxx.","severity":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.02178,"percentile":0.82449,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-119","CWE-787"],"published":"2017-04-30T17:00:00Z","modified":"2026-10-20T10:49:34Z","affected":[{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP2","package":"libixion","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12.1-12.1"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP2","package":"libmwaw","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.11-9.1"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP2","package":"liborcus","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12.1-12.1"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP2","package":"libreoffice","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.3.3.2-40.5.9"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP2","package":"libstaroffice","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0.3-2.1"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP2","package":"libzmf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0.1-2.1"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP2","package":"myspell-dictionaries","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"20170511-15.1"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP2","package":"libixion","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12.1-12.1"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP2","package":"libmwaw","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.11-9.1"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP2","package":"liborcus","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12.1-12.1"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP2","package":"libreoffice","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.3.3.2-40.5.9"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Workstation Extension 12 SP2","package":"libixion","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12.1-12.1"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Workstation Extension 12 SP2","package":"libmwaw","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.11-9.1"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Workstation Extension 12 SP2","package":"liborcus","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12.1-12.1"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Workstation Extension 12 SP2","package":"libreoffice","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.3.3.2-40.5.9"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Workstation Extension 12 SP2","package":"libstaroffice","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0.3-2.1"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Workstation Extension 12 SP2","package":"libzmf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0.1-2.1"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Workstation Extension 12 SP2","package":"myspell-dictionaries","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"20170511-15.1"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP3","package":"libixion","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12.1-13.2.1"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP3","package":"libmwaw","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.11-7.5.1"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP3","package":"liborcus","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12.1-10.5.1"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP3","package":"libreoffice","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.3.5.2-43.5.4"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP3","package":"libstaroffice","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0.3-4.1"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP3","package":"libzmf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0.1-4.1"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP3","package":"myspell-dictionaries","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"20170511-16.2.1"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP3","package":"libixion","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12.1-13.2.1"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP3","package":"libmwaw","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.11-7.5.1"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP3","package":"liborcus","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12.1-10.5.1"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP3","package":"libreoffice","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.3.5.2-43.5.4"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Workstation Extension 12 SP3","package":"libixion","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12.1-13.2.1"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Workstation Extension 12 SP3","package":"libmwaw","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.11-7.5.1"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Workstation Extension 12 SP3","package":"liborcus","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12.1-10.5.1"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Workstation Extension 12 SP3","package":"libreoffice","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.3.5.2-43.5.4"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Workstation Extension 12 SP3","package":"libstaroffice","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0.3-4.1"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Workstation Extension 12 SP3","package":"libzmf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0.1-4.1"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Workstation Extension 12 SP3","package":"myspell-dictionaries","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"20170511-16.2.1"}]}],"bundled":7},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"libreoffice","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.1.5.2-3.13"}]}],"bundled":24}],"products":[{"vendor":"libreoffice","product":"libreoffice"}],"references":[{"url":"https://github.com/LibreOffice/core/commit/6e6e54f944a5ebb49e9110bdeff844d00a96c56c","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix"]},{"url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=889","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Third Party Advisory","report"]},{"url":"http://www.securityfocus.com/bid/98395","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-8358"},{"url":"https://github.com/advisories/GHSA-vw4f-g2ch-x868"},{"url":"https://www.suse.com/support/update/announcement/2017/suse-su-20171821-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1015115","tags":["report"]},{"url":"https://bugzilla.suse.com/1015118","tags":["report"]},{"url":"https://bugzilla.suse.com/1015360","tags":["report"]},{"url":"https://bugzilla.suse.com/1017925","tags":["report"]},{"url":"https://bugzilla.suse.com/1021369","tags":["report"]},{"url":"https://bugzilla.suse.com/1021373","tags":["report"]},{"url":"https://bugzilla.suse.com/1028817","tags":["report"]},{"url":"https://bugzilla.suse.com/1034192","tags":["report"]},{"url":"https://bugzilla.suse.com/1034329","tags":["report"]},{"url":"https://bugzilla.suse.com/1034568","tags":["report"]},{"url":"https://bugzilla.suse.com/1035087","tags":["report"]},{"url":"https://bugzilla.suse.com/1036975","tags":["report"]},{"url":"https://bugzilla.suse.com/1042828","tags":["report"]},{"url":"https://bugzilla.suse.com/948058","tags":["report"]},{"url":"https://bugzilla.suse.com/959926","tags":["report"]},{"url":"https://bugzilla.suse.com/962777","tags":["report"]},{"url":"https://bugzilla.suse.com/963436","tags":["report"]},{"url":"https://bugzilla.suse.com/972777","tags":["report"]},{"url":"https://bugzilla.suse.com/975283","tags":["report"]},{"url":"https://bugzilla.suse.com/976831","tags":["report"]},{"url":"https://bugzilla.suse.com/989564","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2015-8947","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-10327","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-2052","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-7870","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-7882","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-8358","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-9433","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2017/suse-su-20172315-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1021675","tags":["report"]},{"url":"https://bugzilla.suse.com/1035589","tags":["report"]},{"url":"https://bugzilla.suse.com/1045339","tags":["report"]},{"url":"https://bugzilla.suse.com/947117","tags":["report"]},{"url":"https://bugzilla.suse.com/954776","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2006-2198","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2006-2199","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2006-3117","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2007-0238","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2007-0239","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-3157","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-10119","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-10120","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-1055","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-10583","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-16858","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-9848","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-9850","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-9851","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-9853","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-9854","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-9855","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2020-12801","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2020-12802","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2020-12803","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2017-8358","description":"LibreOffice before 2017-03-17 has an out-of-bounds write caused by a heap-based buffer overflow related to the ReadJPEG function in vcl/source/filter/jpeg/jpegc.cxx.","status":"published","published":"2017-04-30T17:00:00Z","modified":"2024-08-05T16:34:22.69Z","updated_at":"2026-11-02T14:33:15.201133Z"}],"euvd":[{"id":"EUVD-2017-17318","description":"LibreOffice before 2017-03-17 has an out-of-bounds write caused by a heap-based buffer overflow related to the ReadJPEG function in vcl/source/filter/jpeg/jpegc.cxx.","status":"published","published":"2017-04-30T17:00:00Z","modified":"2024-08-05T16:34:22Z","updated_at":"2026-11-03T02:39:05.365606Z"}],"ghsa":[{"id":"GHSA-vw4f-g2ch-x868","title":"LibreOffice before 2017-03-17 has an out-of-bounds write caused by a heap-based buffer overflow...","description":"LibreOffice before 2017-03-17 has an out-of-bounds write caused by a heap-based buffer overflow related to the ReadJPEG function in vcl/source/filter/jpeg/jpegc.cxx.","status":"published","published":"2022-05-17T02:44:48Z","modified":"2023-01-27T05:06:15Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:42:52.308172Z"}],"nvd":[{"id":"CVE-2017-8358","description":"LibreOffice before 2017-03-17 has an out-of-bounds write caused by a heap-based buffer overflow related to the ReadJPEG function in vcl/source/filter/jpeg/jpegc.cxx.","status":"published","published":"2017-04-30T17:59:00.967Z","modified":"2026-06-17T01:26:14.707Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-119","CWE-787"],"updated_at":"2026-11-02T14:03:47.848196Z"}],"osv":[{"id":"CVE-2017-8358","description":"LibreOffice before 2017-03-17 has an out-of-bounds write caused by a heap-based buffer overflow related to the ReadJPEG function in vcl/source/filter/jpeg/jpegc.cxx.","status":"published","published":"2017-04-30T17:59:00.967Z","modified":"2026-10-20T10:49:34.021666435Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:06.868403Z"},{"id":"openSUSE-SU-2024:10983-1","title":"libreoffice-7.1.5.2-3.13 on GA media","description":"These are all security issues fixed in the libreoffice-7.1.5.2-3.13 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T04:26:49.903307Z","updated_at":"2026-11-02T16:58:34.894275Z"},{"id":"SUSE-SU-2017:1821-1","title":"Security update for libreoffice","description":"\nLibreOffice was updated to version 5.3.3.2, bringing new features and enhancements:\n\nWriter:\n\n- New 'Go to Page' dialog for quickly jumping to another page.\n- Support for 'Table Styles'.\n- New drawing tools were added.\n- Improvements in the toolbar.\n- Borderless padding is displayed.\n\nCalc:\n\n- New drawing tools were added.\n- In new installations the default setting for new documents is now 'Enable wildcards in formulas'\n  instead of regular expressions.\n- Improved compatibility with ODF 1.2\n\nImpress:\n\n- Images inserted via 'Photo Album' can now be linked instead of embedded in the document.\n- When launching Impress, a Template Selector allows you to choose a Template to start with.\n- Two new default templates: Vivid and Pencil.\n- All existing templates have been improved.\n\nDraw:\n\n- New arrow endings, including Crow's foot notation's ones.\n\nBase:\n\n- Firebird has been upgraded to version 3.0.0. It is unable to read back Firebird 2.5 data,\n  so embedded Firebird odb files created in LibreOffice version up to 5.2 cannot be opened\n  with LibreOffice 5.3.\n\nSome security issues have also been fixed:\n\n- CVE-2017-7870: An out-of-bounds write caused by a heap-based buffer overflow related to\n  the tools::Polygon::Insert function.\n- CVE-2017-7882: An out-of-bounds write related to the HWPFile::TagsRead function.\n- CVE-2017-8358: an out-of-bounds write caused by a heap-based buffer overflow related to\n  the ReadJPEG function.\n- CVE-2016-10327: An out-of-bounds write caused by a heap-based buffer overflow related to\n  the EnhWMFReader::ReadEnhWMF function.\n- CVE-2017-9433: An out-of-bounds write caused by a heap-based buffer overflow related to\n  the MsWrd1Parser::readFootnoteCorrespondance function in libmwaw.\n\nA comprehensive list of new features and changes in this release is available at:\nhttps://wiki.documentfoundation.org/ReleaseNotes/5.3\n","status":"published","published":"2017-07-07T19:21:49Z","modified":"2026-02-04T02:32:34.206267Z","updated_at":"2026-11-02T15:53:44.209561Z"},{"id":"SUSE-SU-2017:2315-1","title":"Security update for libreoffice","description":"\nLibreOffice was updated to version 5.3.5.2, bringing new features and enhancements:\n\nWriter:\n\n- New 'Go to Page' dialog for quickly jumping to another page.\n- Support for 'Table Styles'.\n- New drawing tools were added.\n- Improvements in the toolbar.\n- Borderless padding is displayed.\n\nCalc:\n\n- New drawing tools were added.\n- In new installations the default setting for new documents is now 'Enable wildcards in formulas'\n  instead of regular expressions.\n- Improved compatibility with ODF 1.2\n\nImpress:\n\n- Images inserted via 'Photo Album' can now be linked instead of embedded in the document.\n- When launching Impress, a Template Selector allows you to choose a Template to start with.\n- Two new default templates: Vivid and Pencil.\n- All existing templates have been improved.\n\nDraw:\n\n- New arrow endings, including Crow's foot notation's ones.\n\nBase:\n\n- Firebird has been upgraded to version 3.0.0. It is unable to read back Firebird 2.5 data,\n  so embedded Firebird odb files created in LibreOffice version up to 5.2 cannot be opened\n  with LibreOffice 5.3.\n\nSome security issues have also been fixed:\n\n- CVE-2017-7870: An out-of-bounds write caused by a heap-based buffer overflow related to\n  the tools::Polygon::Insert function.\n- CVE-2017-7882: An out-of-bounds write related to the HWPFile::TagsRead function.\n- CVE-2017-8358: an out-of-bounds write caused by a heap-based buffer overflow related to\n  the ReadJPEG function.\n- CVE-2016-10327: An out-of-bounds write caused by a heap-based buffer overflow related to\n  the EnhWMFReader::ReadEnhWMF function.\n- CVE-2017-9433: An out-of-bounds write caused by a heap-based buffer overflow related to\n  the MsWrd1Parser::readFootnoteCorrespondance function in libmwaw.\n\nA comprehensive list of new features and changes in this release is available at:\nhttps://wiki.documentfoundation.org/ReleaseNotes/5.3\n","status":"published","published":"2017-08-31T17:45:11Z","modified":"2026-02-04T04:27:31.461212Z","updated_at":"2026-11-02T15:53:44.209561Z"}]}}
