LibreOffice out-of-bounds write in compiled Basic macro libraries
The Document Foundation LibreOffice
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| The Document Foundation LibreOffice |
| No fix yet |
Original description
LibreOffice documents can contain Basic macro libraries. A library protected by a password is stored in the document in a compiled form, which may be read when the document is loaded. An out-of-bounds write existed when the compiled form was read, because the positions of its strings were not checked against the size of the data they refer to, and a type found by name was not checked to be of the right kind. In fixed versions these positions are checked, a library that fails the check is not loaded, and a type of the wrong kind is ignored.
From the CVE record · Document Fdn.