# CVE-2026-142204: PHPWord through 1.4.0 Denial of Service via Cyclic OLE Sector Chains in OLERead

Source: https://aplosec.si/cve/CVE-2026-142204/

[AploSec](https://aplosec.si/) / [Disclosures](https://aplosec.si/disclosures/) / CVE-2026-142204

Medium 6.9 · Reported · No fix listed · CWE-835 · Packagist

# PHPWord through 1.4.0 Denial of Service via Cyclic OLE Sector Chains in OLERead

CVE-2026-142204 · published 2026-12-02

In plain words: this type of bug lets someone slow down or crash the service with crafted input (denial of service). No fixed release is listed yet.

## Summary

CVE-2026-142204 affects PHPWord (Packagist) <= 1.4.0: Denial of Service via Cyclic OLE Sector Chains in OLERead (CWE-835). No fixed release is listed. CVSS 4.0 base score 6.9 (Medium), assigned by VulnCheck. Published 2026-12-02 by VulnCheck. Credit: Zachariah Mithani (AploSec).

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.

## Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

## Remediation

No fixed release is listed in the advisory. Check the references for upstream status.

## References

- [VulnCheck advisoryhttps://www.vulncheck.com/advisories/phpword-through-1.4.0-denial-of-service-via-cyclic-ole-sector-chains-in-oleread](https://www.vulncheck.com/advisories/phpword-through-1.4.0-denial-of-service-via-cyclic-ole-sector-chains-in-oleread)

- [Vulnerable codehttps://github.com/PHPOffice/PHPWord/blob/1.4.0/src/PhpWord/Shared/OLERead.php#L159-L169](https://github.com/PHPOffice/PHPWord/blob/1.4.0/src/PhpWord/Shared/OLERead.php#L159-L169)

- [Vulnerable codehttps://github.com/PHPOffice/PHPWord/blob/1.4.0/src/PhpWord/Shared/OLERead.php#L215-L246](https://github.com/PHPOffice/PHPWord/blob/1.4.0/src/PhpWord/Shared/OLERead.php#L215-L246)

- [CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-142204](https://www.cve.org/CVERecord?id=CVE-2026-142204)

**Severity:** Medium 6.9 CVSS 4.0, scored by VulnCheck in the [CVE record](https://www.cve.org/CVERecord?id=CVE-2026-142204)

**Package:** PHPWord

**Ecosystem:** Packagist

**Affected:** <= 1.4.0

**Fixed:** None

**Weakness:** CWE-835

**CNA:** VulnCheck

**Credit:** Zachariah Mithani (AploSec) finder
