Heap buffer overflow via parser type confusion
Published Jun 15, 2026 · Updated Jun 15, 2026
Type confusion in LibreOffice 25.8 before 25.8.7 and 26.2 before 26.2.3 allows attackers to corrupt heap memory via a crafted DOCX. Deferred text-box parser events retain a handler that is treated as a larger incompatible type, so a field write lands beyond the smaller heap allocation. Processing requires LibreOffice to open the crafted file locally, and the published record does not claim arbitrary code execution.
Summary
What happened
Type confusion in LibreOffice 25.8 before 25.8.7 and 26.2 before 26.2.3 allows attackers to corrupt heap memory via a crafted DOCX. Deferred text-box parser events retain a handler that is treated as a larger incompatible type, so a field write lands beyond the smaller heap allocation. Processing requires LibreOffice to open the crafted file locally, and the published record does not claim arbitrary code execution.
The record
- CVE
- CVE-2026-6047
- Published
- Jun 15, 2026
- Updated
- Jun 15, 2026
- Vendor
- The Document Foundation
- Product
- LibreOffice
- Classifications
- CWE-787, CWE-843, CAPEC-44, T1204.002
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jun 15, 2026CVE publishedPublication date reported by the CVE source.
- Jun 15, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=25.8 << 25.8.7
- Affected versionversion=26.2 << 26.2.3
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo