Skip to main content

CVE-2026-53752: CWE-674: Uncontrolled Recursion in plutext docx4j

0
High
VulnerabilityCVE-2026-53752cvecve-2026-53752cwe-674cwe-770
Published: 09/14/2026 (09/14/2026, 17:31:07 UTC)
Source: CVE Database V5
Vendor/Project: plutext
Product: docx4j

Description

docx4j is an open source Java library for creating, editing, and saving OpenXML packages, including DOCX, PPTX, and XLSX files. Prior to 11.5.14, PropertyResolver and adjacent helpers recursively follow the WordprocessingML w:basedOn style inheritance chain without cycle detection. A well-formed DOCX containing mutually based styles causes unbounded recursion in PropertyResolver.fillPPrStack and related effective-style resolution paths, resulting in StackOverflowError. Server-side conversion and table-of-contents processing of an untrusted document can terminate a worker thread, degrade a thread pool, or deny service, although isolation in disposable workers or safe containment of StackOverflowError can reduce the practical effect. The fix adds cyclic-style tracking and CyclicStylesException handling. This issue is fixed in version 11.5.14.

CVSS v3.1

Score 7.5high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected software

plutext

docx4j

Affected versions
<11.5.14

org.docx4j

docx4j-core

Affected versions
<11.5.14
org.docx4j/docx4j
pkg:maven/org.docx4j/docx4j
Affected versions
<11.5.14

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/14/2026, 18:01:36 UTC

Technical Analysis

docx4j, an open source Java library for manipulating OpenXML documents, had a vulnerability (CVE-2026-53752) in versions before 11.5.14 where the PropertyResolver and related helpers recursively followed the w:basedOn style inheritance chain without detecting cycles. If a DOCX file contains mutually based styles forming a cycle, this causes unbounded recursion in PropertyResolver.fillPPrStack, resulting in a StackOverflowError. This can disrupt server-side document processing by terminating worker threads or degrading thread pools, leading to denial of service. The fix in version 11.5.14 introduces cyclic-style tracking and handles CyclicStylesException to prevent this uncontrolled recursion.

Potential Impact

The vulnerability can cause denial of service by triggering a StackOverflowError during server-side processing of maliciously crafted DOCX files with cyclic style inheritance. This can terminate worker threads or degrade thread pools, impacting availability. There is no impact on confidentiality or integrity. The practical effect can be reduced by isolating processing in disposable workers or safely containing StackOverflowError exceptions.

Mitigation Recommendations

This issue is fixed in docx4j version 11.5.14 by adding cycle detection and exception handling. Users should upgrade to version 11.5.14 or later to remediate this vulnerability. If upgrading is not immediately possible, isolating document processing in disposable worker threads or safely handling StackOverflowError exceptions can reduce the impact.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-10T17:48:40.546Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6aa8337755bf5e2cf564181a

Added to database: 09/14/2026, 17:48:39 UTC

Last enriched: 09/14/2026, 18:01:36 UTC

Last updated: 09/15/2026, 09:41:29 UTC

Views: 17

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses