Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit crafted legacy .doc to parser
-
ExploitCyclic OLE sector chain followed in OLERead
-
ImpactLoop exhausts CPU and PHP memory
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Loop termination conditions
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the target application to load and parse an attacker-supplied legacy .doc (OLE compound) file through PHPWord's MsDoc reader (e.g., IOFactory loading with the MsDoc reader); the crafted file must contain a sector chain that points back to an earlier sector to form a cycle. Limiting factors: the application must accept and process untrusted .doc uploads via this specific reader path (applications that only handle .docx or never ingest user-supplied documents are not exposed), and the practical blast radius is bounded by PHP's memory_limit and max_execution_time settings, which typically convert the infinite loop into a crash or timeout of the single handling worker/request rather than a full host outage - though repeated submissions can still degrade service. |
| Impact | This is a medium-severity denial-of-service issue (CVSS 4.0 base 6.9, vector AV:N/AC:L/AT:N/PR:N/UI:N with VA:L as the only impact). The vector indicates remote, low-complexity, unauthenticated triggering with no attack requirements, and PR:N confirms no authentication is needed to reach the vulnerable code. However, the real-world ceiling is bounded: confidentiality and integrity impact are both None (VC:N/VI:N), and availability impact is only Low (VA:L), consistent with CWE-835 (infinite loop) rather than memory corruption or code execution. The decision label is 'this_month' (not act_now/emergency), it is NOT listed in CISA KEV, and no EPSS score was supplied in the input. No working exploit code is referenced - the available references are the VulnCheck advisory and two source-code line ranges in OLERead.php, not a published PoC exploit. Net assessment: a legitimate but non-urgent availability bug. It becomes a priority only in deployments that actually parse attacker-supplied legacy .doc files through PHPWord's MsDoc reader; the overall priority signals (no KEV, this_month label, DoS-only impact) argue against treating this as a high-real-risk emergency despite the network/unauthenticated vector. |
| Exploit ScenarioDerived | An attacker uploads or submits a crafted legacy .doc (OLE compound) file to a PHP application that uses PHPWord's MsDoc reader to parse Word documents. The file contains a sector chain whose pointers form a cycle, so when OLERead's read()/getStream()/readData() follow the chain they loop indefinitely, pinning CPU and exhausting the worker's PHP memory. No public working exploit code is identified, but the VulnCheck advisory documents the flaw and the vulnerable code locations are public, lowering the barrier to reproduction. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 02, 2026
Denial of service in PHPOffice PHPWord through 1.4.0 is triggered when an application loads an attacker-supplied legacy .doc file through the MsDoc reader: a crafted OLE compound file whose sector chain points back to an earlier sector sends Shared\OLERead::read(), getStream() and readData() into a non-terminating loop that consumes PHP memory or CPU. The CVSS 4.0 vector is network-reachable, low complexity and unauthenticated (AV:N/AC:L/AT:N/PR:N/UI:N) with availability as the only impact (VA:L), consistent with the independent assessment's CVSS 3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L; exposure requires the target to parse untrusted .doc input, and PHP memory_limit and max_execution_time settings typically bound the effect to the handling request or worker. No CISA KEV entry or public exploit code was identified at time of analysis, and the priority label is this_month.
RemediationAI
No vendor-released patch or fixed version is identified in the available intelligence: the record covers PHPWord through 1.4.0 and points to code in the 1.4.0 tree, so track the PHPOffice PHPWord project for a release after 1.4.0 that corrects OLERead sector-chain handling and upgrade when one is published, using the VulnCheck advisory at https://www.vulncheck.com/advisories/phpword-through-1.4.0-denial-of-service-via-cyclic-ole-sector-chains-in-oleread as the reference. Until then, stop feeding untrusted legacy .doc files to the MsDoc reader: restrict uploads to .docx or otherwise allowlist document types at the application boundary and reject or quarantine OLE compound files, with the trade-off that legacy .doc support is lost. Where .doc must be processed, do it in an isolated worker with a hard max_execution_time and a low memory_limit so a cyclic sector chain ends as a failed request rather than consuming shared capacity; this converts the denial of service into a single-request failure and may reject large legitimate documents. Teams maintaining a fork can add OLE sector-chain validation before calling read()/getStream(), such as bounding chain hops and rejecting repeated sectors, at the cost of custom maintenance. The this_month priority label supports scheduling these changes in the current monthly cycle rather than an emergency response.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
PHPWord's MsDoc reader relies on Shared\OLERead to parse OLE2/Compound File Binary containers used by legacy .doc files. In that format, data is held in sectors linked through a FAT chain, and OLERead follows the chain to locate and read the file's streams. The 1.4.0 code at src/PhpWord/Shared/OLERead.php lines 159-169 and 215-246 (read(), getStream(), readData()) does not detect a sector that points back to an earlier sector, so a cyclic chain makes the walk non-terminating - CWE-835, Infinite Loop. This is a parsing and validation failure in the OLE reader path rather than a memory-safety flaw; the supplied sources show no code execution, data disclosure or integrity impact, matching the CVSS 4.0 vector whose only impact metric is VA:L. The affected codebase is defined by CPE cpe:2.3:a:phpoffice:phpword:*:*:*:*:*:*:*:* and the EUVD range PHPWord 0 ≤1.4.0. How a given SAPI or deployment converts the loop into a request timeout versus a worker crash depends on PHP memory_limit and max_execution_time; that behavior is not verified in the available sources, and the trigger is the crafted cyclic sector chain described above.
Know when Phpword gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Remote unauthenticated submission of a crafted file triggers an infinite loop with no auth or interaction needed; only partial availability impact (worker CPU/memory exhaustion), so C:N/I:N/A:L.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
PHPOffice PHPWord through 1.4.0 contains an infinite loop vulnerability in Shared\OLERead that allows attackers to cause denial of service by supplying crafted legacy .doc files with cyclic sector chains. Attackers can submit an OLE compound file whose sector chain points back to an earlier sector, causing read(), getStream() and readData() to loop indefinitely and exhaust PHP memory or CPU when loaded by the MsDoc reader.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Path traversal in PHPWord through 1.4.0 allows an attacker with document-submission privileges to read server files into
Server-side request forgery in PHPOffice PHPWord through 1.4.0 allows unauthenticated remote attackers to make the serve
EUVD-2026-141626
GHSA-rpm9-8xm2-mfrp
NVD
CVE.org
Exploit-DB