All vulnerabilities

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.

From the CVE Program.

Affected software

SoftwareAffected versions
phpoffice/phpwordPackagist · osv:Packagist:phpoffice/phpword
  • Every version up to 1.4.0

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
Search the list for phpoffice/phpword

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-142204