Denial of Service Vulnerability in libwpd: Heap-Based Buffer Over-Read

libwpd Updated 02 Oct 2025

Summary

09/09/2017
N/A
Yes i
High
7.5

CVE-2017-14226: 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 c... Affects libwpd across 2 version ranges.

< 0.10.2-1 < 6c1e146422e0208259a459e850eb2948256953ff

Fixed in 0.10.2-1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

libwpd is an open-source library designed for reading and writing WordPerfect documents. It is widely used in various applications, including LibreOffice, to facilitate compatibility with WordPerfect files. The library's functionality includes parsing document structures and managing styles, which are critical for rendering documents accurately. However, certain versions of libwpd are susceptible to a vulnerability that can lead to denial of service, particularly in applications that utilize this library.

Vulnerability Detail

The vulnerability identified as CVE-2017-14226 arises from improper handling of iterators in the WP1StylesListener.cpp, WP5StylesListener.cpp, and WP42StylesListener.cpp files within libwpd version 0.10.1. This flaw allows remote attackers to exploit the WPXTableList class in WPXTable.cpp, resulting in a heap-based buffer over-read. Such an attack can lead to a denial of service in LibreOffice versions prior to 5.3.7, potentially causing the application to crash or become unresponsive.

How To Fix

Minimum fixed version

0.10.2-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade libwpd

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If an immediate upgrade is not feasible, users can mitigate the risk by avoiding the opening of potentially malicious WordPerfect documents until the library is updated. Additionally, implementing network security measures to restrict access to untrusted sources may help reduce exposure to this vulnerability.

Conclusion

CVE-2017-14226 is a significant vulnerability in libwpd that can lead to denial of service in applications like LibreOffice. Users are strongly advised to upgrade to the latest version of the library to mitigate risks. For those unable to upgrade immediately, implementing workarounds can help reduce exposure to potential attacks.

See every vulnerability recorded for libwpd →

Share this vulnerability

FAQ

CVE-2017-14226 is a vulnerability in libwpd that allows remote attackers to cause a denial of service through a heap-based buffer over-read.

libwpd versions prior to 0.10.2-1 are affected by this vulnerability.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The CVSS score of CVE-2017-14226 is 7.5, indicating a high severity level.

If an upgrade is not possible, avoid opening untrusted WordPerfect documents and consider implementing network security measures to limit exposure.

Related vulnerabilities

Recent vulnerabilities recorded for libwpd.

How To Fix

Minimum fixed version

0.10.2-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade libwpd

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback