| Name | CVE-2026-6040 |
| Description | 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DSA-6346-1 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| libreoffice (PTS) | bullseye | 1:7.0.4-4+deb11u10 | vulnerable |
| bullseye (security) | 1:7.0.4-4+deb11u13 | vulnerable | |
| bookworm | 4:7.4.7-1+deb12u12 | fixed | |
| bookworm (security) | 4:7.4.7-1+deb12u11 | fixed | |
| trixie | 4:25.2.3-2+deb13u4 | vulnerable | |
| trixie (security) | 4:25.2.3-2+deb13u5 | fixed | |
| forky, sid | 4:26.2.4.2-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| libreoffice | source | bookworm | (not affected) | |||
| libreoffice | source | trixie | 4:25.2.3-2+deb13u5 | DSA-6346-1 | ||
| libreoffice | source | (unstable) | 4:26.2.3.2-2 |
[bookworm] - libreoffice <not-affected> (Vulnerable code not present)
https://www.libreoffice.org/about-us/security/advisories/cve-2026-6040