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.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Libreoffice | Libreoffice | * | 5.4.5.1 (excluding) |
Libreoffice | Libreoffice | 6.0.0 (including) | 6.0.1.1 (excluding) |
Red Hat Enterprise Linux 7 | RedHat | libreoffice-1:5.3.6.1-19.el7 | * |
Libreoffice | Ubuntu | trusty | * |
Libreoffice | Ubuntu | xenial | * |