CVE-2026-53752: CWE-674: Uncontrolled Recursion in plutext docx4j
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.
AI Analysis
Technical Summary
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.
CVE-2026-53752: CWE-674: Uncontrolled Recursion in plutext 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
Affected software
plutext
docx4j
org.docx4j
docx4j-core
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
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.