CVE-2026-6040
Fixed in a distro release EPSS <1%CVSS 5.4
A heap use-after-free existed when importing the blank-width characters of an ODF number format. A position value read from the document was not checked against the length of the format-code string, so a malformed number format could be processed against memory outside that string. In fixed versions the position is bounds-checked before use.
Products: The Document Foundation LibreOffice, Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Debian 13 | libreoffice | 4:25.2.3-2+deb13u5 |
| Debian 14 | libreoffice | 4:26.2.3.2-2 |
| SUSE Linux Enterprise Module for Package Hub 15 SP7 | libreoffice | 26.2.5.1-150500.20.37.1 |
| SUSE Linux Enterprise Workstation Extension 15 SP7 | libreoffice | 26.2.5.1-150500.20.37.1 |
| Ubuntu 22.04 LTS | libreoffice | 1:7.3.7-0ubuntu0.22.04.12 |
| Ubuntu 24.04 LTS | libreoffice | 4:24.2.7-0ubuntu0.24.04.6 |
| Ubuntu 25.10 | libreoffice | no fix |
| Ubuntu 26.04 LTS | libreoffice | 4:26.2.4.2-0ubuntu0.26.04.2 |