Bug 167720 - Hangs with 100% CPU usage when opening a specific DOCX file
Summary: Hangs with 100% CPU usage when opening a specific DOCX file
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
25.2.5.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Performance
  Show dependency treegraph
 
Reported: 2025-07-29 12:51 UTC by serii84
Modified: 2025-07-29 16:51 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Test document (54.11 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2025-07-29 12:52 UTC, serii84
Details

Note You need to log in before you can comment on or make changes to this bug.
Description serii84 2025-07-29 12:51:16 UTC
Description:
Trying to open a specific DOCX file, LibreOffice hangs with 100% CPU and never returns.

Steps to Reproduce:
1. Open the attached DOCX file

Actual Results:
LibreOffice seems to open the document but hangs with 100% CPU and non responsive. Similar behavior when using soffice in headless mode to export to PDF format.

Expected Results:
Loading the document without hanging.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Same behavior on Mac OS Sequoia 15.4.1 and Windows 10 Home edition.
Comment 1 serii84 2025-07-29 12:52:37 UTC
Created attachment 202064 [details]
Test document
Comment 2 m_a_riosv 2025-07-29 14:58:55 UTC
Opening with Word, indicates the file has ActiveX control, Word manage to disable it but seems Writer not.

Reproducible.

Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 7f4868348c14b305fcd75744e1e3544d0d3a5d61
CPU threads: 16; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded