Packagist
CVE-2026-142204
PHPWord through 1.4.0 Denial of Service via Cyclic OLE Sector Chains in OLERead
- Severity
- Medium 6.9
- Published
- 2 Dec 2026
- Last changed
- 2 Dec 2026
- Added to UpHeron
- 2 Dec 2026
- Weakness
- Infinite loop (CWE-835)
- Attack
- Over the network · No login needed · No user action needed
- Attacker can
- Slow it down
- CVSS vector
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- Sources
- CVE Program
Description
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.
Affected software
| Software | Affected versions |
|---|---|
phpoffice/phpwordPackagist · osv:Packagist:phpoffice/phpword |
|
About phpoffice/phpword
- Monthly downloads (Packagist)
- 3,572,648Packagist, 2 Dec 2026
- Total downloads (Packagist)
- 52,050,198Packagist, 2 Dec 2026
Vulnerabilities in phpoffice/phpword
- In our list
- 3
- Published in the last 12 months
- 3
- Critical, last 12 months
- 0
- High, last 12 months
- 1
- Known exploited
- 0
- CVE-2026-142202PHPOffice PHPWord through 1.4.0 Path Traversal via Zip Entry Names in Image HandlingHigh 7.2 2 Dec 2026
- CVE-2026-142203PHPOffice PHPWord through 1.4.0 SSRF via External VML Image ReferencesMedium 6.9 2 Dec 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-142204