Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-112056 Overview
CVE-2026-112056 is a heap-based out-of-bounds read vulnerability in wvWare wv through version 1.2.9. The flaw resides in the wvGetSTSH function within stylesheet.c. Attackers trigger the issue by supplying a crafted Microsoft Word document containing ten or fewer styles or out-of-range style base indexes. Parsing the malformed stylesheet causes the library to read past heap-allocated arrays, crashing downstream applications such as AbiWord. The vulnerability is tracked under CWE-125: Out-of-bounds Read.
Critical Impact
Opening a malicious .doc file crashes applications that embed the wv library, resulting in denial of service on the local user's workstation.
Affected Products
- wvWare wv library versions up to and including 1.2.9
- AbiWord and other document viewers that embed the wv parser
- Linux distributions packaging wv as a shared dependency
Discovery Timeline
- 2026-10-18 - CVE-2026-112056 published to NVD
- 2026-10-19 - Last updated in NVD database
Technical Details for CVE-2026-112056
Vulnerability Analysis
The wv library parses binary Microsoft Word documents and exposes stylesheet handling through the wvGetSTSH routine. When processing the STyleSHeet (STSH) stream, the function indexes into heap-allocated style arrays using values extracted directly from the input document. The parser fails to validate two conditions: whether the declared style count is below the minimum expected floor, and whether base style indexes fall within the allocated array bounds. Supplying a .doc file with ten or fewer styles or with out-of-range base indexes causes reads past the end of heap buffers. The out-of-bounds read corrupts control flow or dereferences invalid memory, crashing the host process.
Root Cause
The root cause is missing bounds validation in wvGetSTSH at the point where style base indexes are dereferenced. The parser trusts attacker-controlled fields in the stylesheet stream without enforcing minimum-count or maximum-index constraints. See the GitHub source reference at stylesheet.c line 447 for the vulnerable code path.
Attack Vector
Exploitation requires local user interaction. An attacker delivers a crafted .doc file through email, a web download, or shared storage. When the victim opens the document in an application linked against wv, the parser reads past the heap style array and the application terminates. The flaw does not provide code execution, but the resulting crash disrupts document workflows and may corrupt unsaved work. Technical exploitation steps are documented in the HackMD out-of-bounds read writeup and the VulnCheck advisory.
Detection Methods for CVE-2026-112056
Indicators of Compromise
- Unexpected crashes of AbiWord or other wv-linked applications immediately after opening a .doc file
- Core dumps or segmentation faults referencing wvGetSTSH or stylesheet.c in stack traces
- .doc files with abnormally small style tables (ten or fewer styles) or malformed STSH streams arriving via email or download
Detection Strategies
- Inspect .doc attachments at the mail gateway for malformed STSH structures and anomalous style counts
- Correlate application crash telemetry with recent document-open events to identify malicious file sources
- Hunt for process termination events on endpoints running document viewers that link against libwv
Monitoring Recommendations
- Enable crash reporting on workstations that process untrusted .doc content and forward reports to a central log store
- Monitor file-write events creating .doc files in user download directories followed by application faults
- Track installed package versions of wv and abiword across the fleet to identify unpatched hosts
How to Mitigate CVE-2026-112056
Immediate Actions Required
- Restrict opening of untrusted .doc files until the wv library is updated past version 1.2.9
- Route legacy Word documents through a sanitizing conversion service before user access
- Advise users to preview Word documents in cloud-based viewers rather than local wv-based applications
Patch Information
At the time of publication, no fixed upstream release of wv beyond 1.2.9 is referenced in the NVD entry. Consult the VulnCheck advisory and the AbiWord/wv repository for the current patch status and distribution backports.
Workarounds
- Convert .doc files to .docx or PDF using an isolated conversion sandbox before distribution
- Disable or uninstall wv-dependent applications on systems that do not require legacy Word support
- Apply AppArmor or SELinux profiles that constrain document viewers and prevent crash-induced side effects on other processes
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

