sot/source/sdstor/stgstrms.cxx in LibreOffice before 5.4.5.1 and 6.x before 6.0.1.1 uses an incorrect integer data type in the StgSmallStrm class, which allows remote attackers to cause a denial of service (use-after-free with write access) or possibly have unspecified other impact via a crafted document that uses the structured storage ole2 wrapper file format.
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Link | Tags |
---|---|
https://gerrit.libreoffice.org/#/c/48758/ | patch vendor advisory |
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=5747 | third party advisory |
https://access.redhat.com/errata/RHSA-2018:3054 | third party advisory vendor advisory |
https://www.debian.org/security/2018/dsa-4178 | third party advisory vendor advisory |
https://www.libreoffice.org/about-us/security/advisories/cve-2018-10119/ | vendor advisory |
https://usn.ubuntu.com/3883-1/ | third party advisory vendor advisory |
https://gerrit.libreoffice.org/gitweb?p=core.git%3Ba=commit%3Bh=fdd41c995d1f719e92c6f083e780226114762f05 | |
https://gerrit.libreoffice.org/#/c/48751/ | patch vendor advisory |
https://lists.debian.org/debian-lts-announce/2018/04/msg00021.html | third party advisory mailing list |
https://gerrit.libreoffice.org/#/c/48756/ | patch vendor advisory |
https://gerrit.libreoffice.org/#/c/48757/ | patch vendor advisory |