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-111678 Overview
CVE-2026-111678 is a stack out-of-bounds read vulnerability [CWE-125] in Antiword through version 0.37. The flaw resides in the vGet8PapInfo and vGet8ChrInfo functions in prop8.c, where Formatted Disk Page (FKP) run counts and grpprl offsets are not properly bounded. An attacker can supply a crafted .doc file containing malicious FKP pages to read past a 512-byte stack buffer. Exploitation causes Antiword to crash or corrupts style parsing when processing untrusted Word documents.
Critical Impact
A local attacker can crash Antiword or corrupt its style parsing by delivering a malicious .doc file that triggers an out-of-bounds read beyond a 512-byte stack buffer.
Affected Products
- Antiword through version 0.37
- prop8.c parser component (vGet8PapInfo, vGet8ChrInfo)
- Downstream tools and pipelines that embed Antiword for .doc text extraction
Discovery Timeline
- 2026-10-16 - CVE-2026-111678 published to NVD
- 2026-10-20 - Last updated in NVD database
Technical Details for CVE-2026-111678
Vulnerability Analysis
Antiword parses legacy Microsoft Word binary .doc files to extract text. Properties for paragraphs and characters are stored in FKP pages, each 512 bytes in size. The functions vGet8PapInfo and vGet8ChrInfo in prop8.c iterate FKP entries and dereference grpprl offsets without validating that the run count or offset falls within the 512-byte page buffer allocated on the stack. A crafted document can declare an inflated run count or point grpprl offsets outside the buffer bounds. The parser then reads adjacent stack memory, producing undefined behavior that either crashes the process or feeds attacker-influenced bytes into subsequent style parsing routines.
Root Cause
The root cause is missing bounds enforcement on FKP metadata fields parsed from an untrusted document. The code trusts the attacker-controlled run count and per-entry grpprl offsets rather than clamping them to the 512-byte FKP page boundary. See the vulnerable loops referenced in the Antiword prop8.c source (lines 997-1022) and prop8.c source (lines 1461-1474).
Attack Vector
The attack requires local execution and user interaction. A target user must open or process a malicious .doc file with Antiword, directly or through a wrapper such as a document conversion pipeline, mail filter, or search indexer. Successful exploitation reads out-of-bounds stack memory and typically produces a crash or corrupted parsing state rather than code execution.
No verified proof-of-concept code is published. For a detailed walkthrough, see the HackMD Out-of-Bounds Read Analysis and the VulnCheck Advisory on Antiword.
Detection Methods for CVE-2026-111678
Indicators of Compromise
- Unexpected crashes or segmentation faults in antiword processes when parsing .doc attachments.
- .doc files containing malformed FKP pages, oversized run counts, or grpprl offsets exceeding 512 bytes.
- Core dumps or sanitizer reports referencing vGet8PapInfo or vGet8ChrInfo in prop8.c.
Detection Strategies
- Run Antiword builds compiled with AddressSanitizer against suspect documents to detect out-of-bounds reads at parse time.
- Deploy YARA rules that flag .doc files with FKP run counts inconsistent with the 512-byte page structure.
- Correlate document-conversion service crashes with the originating file hash and sender metadata.
Monitoring Recommendations
- Monitor process exit codes and signal termination for antiword and any wrapper such as catdoc, unoconv, or search indexers.
- Alert on repeated parser failures tied to a single sender, mailbox, or upload source.
- Log full file hashes of .doc inputs processed in server-side pipelines to enable retrospective hunting.
How to Mitigate CVE-2026-111678
Immediate Actions Required
- Inventory all systems running Antiword version 0.37 or earlier, including document conversion servers, mail gateways, and indexing hosts.
- Restrict Antiword execution to sandboxed, unprivileged accounts with no network access.
- Block or quarantine untrusted .doc attachments until a patched build is deployed.
Patch Information
No upstream vendor patch has been published at the time of NVD listing. Antiword 0.37 is the latest release and the project is no longer actively maintained upstream. Monitor the VulnCheck Advisory on Antiword for distribution-level backports. Organizations maintaining forks should add bounds checks on FKP run counts and grpprl offsets against the 512-byte page before dereference.
Workarounds
- Replace Antiword with an actively maintained converter such as LibreOffice headless mode for .doc extraction.
- Execute Antiword inside a seccomp, bubblewrap, or container sandbox to contain crashes and limit memory disclosure.
- Pre-filter inbound .doc files, rejecting documents that fail structural validation of FKP tables.
- Apply mandatory access controls to prevent Antiword from reading sensitive files that could leak into stack memory during parsing.
# Configuration example: run antiword under a minimal bubblewrap sandbox
bwrap \
--ro-bind /usr /usr \
--ro-bind /lib /lib \
--ro-bind /lib64 /lib64 \
--bind /tmp/antiword-work /work \
--unshare-all \
--die-with-parent \
--new-session \
-- /usr/bin/antiword /work/input.doc > /work/output.txt
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

