Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › PHP

CVE-2026-142204 — PHPOffice PHPWord

Medium · CVSS 6.9EPSS 0.7% First seen December 02, 2026

One of 3 PHPOffice PHPWord vulnerabilities published together by NVD: our article covers all of them.

PHPWebVulnerabilities

Summary

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.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

Medium · 6.9 CVSS 4.0 base score from the CNA (vulncheck.com)

An attacker without an account can exploit this over the network, without any user action.

Attack from
the network (remotely)
Attack complexity
low (no special conditions)
Special conditions
none
Login needed
no
User action needed
no
Impact
low on availability, none on confidentiality and integrity
Impact on other systems
none

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X · CVSS 3.1 5.3 from the CNA (vulncheck.com): CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Weakness

  • CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')

Affected and fixed versions

ProductAffected versionsFixed in
PHPOffice PHPWord≤ 1.4.0—

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Other references

Details from NVD (public domain).

Affected

  • PHPOffice PHPWord

What to do

  • Follow the vendor advisory and the references below for fixed versions and workarounds.

Frequently asked questions

What is CVE-2026-142204?

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. Weakness type: Loop with Unreachable Exit Condition ('Infinite Loop') (CWE-835).

How severe is CVE-2026-142204?

CVE-2026-142204 has a CVSS 4.0 base score of 6.9 (medium), from the CNA (vulncheck.com). An attacker without an account can exploit this over the network, without any user action.

Is CVE-2026-142204 being exploited?

Not as far as is known: CVE-2026-142204 is not in CISA's Known Exploited Vulnerabilities catalog as of December 3, 2026. EPSS estimates a 0.7% chance that it is exploited in the next 30 days.

Which versions are affected by CVE-2026-142204?

PHPOffice PHPWord ≤ 1.4.0.

How do I fix CVE-2026-142204?

Follow the advisories and patches linked on this page under References for fixed versions and workarounds.

Timeline & sources

References

Related vulnerabilities & news