Description
LibreOffice Draw can import PDF documents. A heap buffer overflow existed when importing an encrypted document. The length of the decryption key was taken from the document's own encryption dictionary and was used to fill a fixed size key buffer without being checked against it, so a length larger than that buffer wrote past its end. In fixed versions a declared key length larger than the buffer is rejected.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| The Document Foundation | LibreOffice | 26.2 – < < 26.2.5 | < 26.2.5 |
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.2.5.2-1 | — |
| Debian 13 | libreoffice | 4:25.2.3-2+deb13u7 | — |
| Debian 12 | libreoffice | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.04 LTS | libreoffice | 4:26.2.6.3-0ubuntu0.26.04.2 | USN-8868-1 |
| Ubuntu 24.04 LTS | libreoffice | 4:24.2.7-0ubuntu0.24.04.7 | USN-8868-1 |
| Ubuntu 22.04 LTS | libreoffice | 1:7.3.7-0ubuntu0.22.04.13 | USN-8868-1 |
| Ubuntu 20.04 LTS | libreoffice | No fix yet | — |
Advisories 2
- WID-SEC-2026-3521 LibreOffice: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 11, 2026
- USN-8868-1 libreoffice vulnerabilities Ubuntu Security Notices (USN) · Oct 5, 2026