LibreOffice before 2017-01-02 has an out-of-bounds write caused by a heap-based buffer overflow related to the tools::Polygon::Insert function in tools/source/generic/poly.cxx.
[
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"22070612361645020329499610670637442537",
"249548078519129381430523906520815174046",
"66627152345715727314717051175413444184",
"183457155979765927682825144003200261694",
"106853514682002853511463943567446016026",
"164520669373181017003991742969165080466",
"262049827953478467901912069566875013880",
"169435334650410120893404410842814725204",
"127156561887178819446338029902892638488",
"290523080986170265811940144313261488470",
"129517384787695669179361398211531610093",
"295269351213068409233532661871352164512",
"296108302739791682043000479602677467115",
"84299348447492656638703726841172784111",
"147197914840954722298865082518069312180",
"252473870175660580243636653292391771538"
]
},
"source": "https://github.com/libreoffice/core/commit/62a97e6a561ce65e88d4c537a1b82c336f012722",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "tools/source/generic/poly.cxx"
},
"signature_type": "Line",
"id": "CVE-2017-7870-05518e5e"
},
{
"digest": {
"function_hash": "177579632425961738769511052796220908042",
"length": 249.0
},
"source": "https://github.com/libreoffice/core/commit/62a97e6a561ce65e88d4c537a1b82c336f012722",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "tools/source/generic/poly.cxx",
"function": "Polygon::Insert"
},
"signature_type": "Function",
"id": "CVE-2017-7870-71ab297e"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"268423800745431058011912116022712954466",
"161724590690062240202967858997688713271",
"254401286068184726806158298447869513049",
"135877398073884030876425637441777630194"
]
},
"source": "https://github.com/libreoffice/core/commit/62a97e6a561ce65e88d4c537a1b82c336f012722",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "tools/inc/poly.h"
},
"signature_type": "Line",
"id": "CVE-2017-7870-e981ea23"
},
{
"digest": {
"function_hash": "334702242086672512941108974623254879673",
"length": 1319.0
},
"source": "https://github.com/libreoffice/core/commit/62a97e6a561ce65e88d4c537a1b82c336f012722",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "tools/source/generic/poly.cxx",
"function": "ImplPolygon::ImplSplit"
},
"signature_type": "Function",
"id": "CVE-2017-7870-ff672b92"
}
]