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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| The Document Foundation | LibreOffice | 26.2 – < < 26.2.7, 26.8 – < < 26.8.2 | < 26.2.7 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libreoffice | 4:26.8.2.2-2 | — |
| Debian 13 | libreoffice | No fix yet | — |
| Debian 12 | libreoffice | No fix yet | — |
Advisories 1
- WID-SEC-2026-4591 LibreOffice: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 16, 2026