Description
WP1StylesListener.cpp, WP5StylesListener.cpp, and WP42StylesListener.cpp in libwpd 0.10.1 mishandle iterators, which allows remote attackers to cause a denial of service (heap-based buffer over-read in the WPXTableList class in WPXTable.cpp). This vulnerability can be triggered in LibreOffice before 5.3.7. It may lead to suffering a remote attack against a LibreOffice application.
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 | libwpd | 0.10.2-1 | — |
| Debian 13 | libwpd | 0.10.2-1 | — |
| Debian 12 | libwpd | 0.10.2-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | libwpd | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP3 | libwpd | 0.10.2-2.4.1 | SUSE-SU-2017:2931-1 |
| SLES 12 SP2 | libwpd | 0.10.2-2.4.1 | SUSE-SU-2017:2931-1 |
Advisories 1
- SUSE-SU-2017:2931-1 Security update for libwpd SUSE / openSUSE Security Updates · May 2, 2025
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1489337
- https://sourceforge.net/p/libwpd/code/ci/f40827b3eae260ce657c67d9fecc855b09dea3c3/
- https://sourceforge.net/p/libwpd/code/ci/0329a9c57f9b3b0efa0f09a5235dfd90236803a5/
- https://bugs.documentfoundation.org/show_bug.cgi?id=112269
- https://cgit.freedesktop.org/libreoffice/core/commit/?id=dd89afa6ee8166b69e7a1e86f22616ca8fc122c9
- https://sourceforge.net/p/libwpd/tickets/14/