Description
LibreOffice can import WMF graphics, which may be embedded in documents. A heap buffer overflow existed when importing a text record that carries its own character advance widths. The count of advance values and the length of the text were read separately from the file and were not required to agree, so drawing the text walked the advance array by character position and ran past its end when the array was the shorter of the two. In fixed versions an advance array shorter than its text is ignored.
Severity (CVSS)
| Base score | 5.4 |
|---|---|
| Severity | Medium |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N/E:P |
| Provided by | CNA |
Weaknesses
- CWE-787 — CWE-787 Out-of-bounds Write
- CWE-125 — CWE-125 Out-of-bounds Read
Affected products
| Vendor | Product | Versions |
|---|---|---|
| The Document Foundation | LibreOffice | 26.2 to << 26.2.5 |
References
Generated from the official CVE List on 23 Sep 2026 07:02 UTC.