Description
LibreOffice before 2016-12-22 has an out-of-bounds write caused by a heap-based buffer overflow related to the EnhWMFReader::ReadEnhWMF function in vcl/source/filter/wmf/enhwmf.cxx.
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 | 1:5.2.5-1 | — |
| Debian 13 | libreoffice | 1:5.2.5-1 | — |
| Debian 12 | libreoffice | 1:5.2.5-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | libreoffice | 1:5.1.6~rc2-0ubuntu1~xenial2 | USN-3273-1 |
| Ubuntu 14.04 LTS | libreoffice | 1:4.2.8-0ubuntu5.1 | USN-3273-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP3 | libixion | 0.12.1-13.2.1 | SUSE-SU-2017:2315-1 |
| SLES 12 SP3 | libmwaw | 0.3.11-7.5.1 | SUSE-SU-2017:2315-1 |
| SLES 12 SP3 | liborcus | 0.12.1-10.5.1 | SUSE-SU-2017:2315-1 |
| SLES 12 SP3 | libreoffice | 5.3.5.2-43.5.4 | SUSE-SU-2017:2315-1 |
| SLES 12 SP3 | libstaroffice | 0.0.3-4.1 | SUSE-SU-2017:2315-1 |
| SLES 12 SP3 | libzmf | 0.0.1-4.1 | SUSE-SU-2017:2315-1 |
| SLES 12 SP3 | myspell-dictionaries | 20170511-16.2.1 | SUSE-SU-2017:2315-1 |
| SLES 12 SP2 | libixion +1 | 0.12.1-12.1 | SUSE-SU-2017:1821-1 |
| SLES 12 SP2 | libmwaw | 0.3.11-9.1 | SUSE-SU-2017:1821-1 |
| SLES 12 SP2 | libreoffice | 5.3.3.2-40.5.9 | SUSE-SU-2017:1821-1 |
| SLES 12 SP2 | libstaroffice | 0.0.3-2.1 | SUSE-SU-2017:1821-1 |
| SLES 12 SP2 | libzmf | 0.0.1-2.1 | SUSE-SU-2017:1821-1 |
| SLES 12 SP2 | myspell-dictionaries | 20170511-15.1 | SUSE-SU-2017:1821-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | libreoffice | 7.1.5.2-3.13 | openSUSE-SU-2024:10983-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.5 | libreoffice | 5.2.7.2-r0 | — |
Advisories 4
- USN-3273-1 libreoffice vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- SUSE-SU-2017:2315-1 Security update for libreoffice SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10983-1 libreoffice-7.1.5.2-3.13 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:1821-1 Security update for libreoffice SUSE / openSUSE Security Updates · Feb 4, 2026