Home / Apache Software Foundation / Apache OpenOffice / CVE-2021-40439
CVE-2021-40439: is it exploited, and which versions of Apache Software Foundation Apache OpenOffice are affected and fixed?
CVE-2021-40439 is a XML external entity (XXE) vulnerability in Apache Software Foundation Apache OpenOffice. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:08 UTC). Affected: Apache OpenOffice from Apache OpenOffice through 4.1.10 and Apache OpenOffice from OpenOffice.org through 3.4 (CVE record by apache). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (6.5, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:08 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:54 UTC.
What is CVE-2021-40439?
Apache OpenOffice has a dependency on expat software. Versions prior to 2.1.0 were subject to CVE-2013-0340 a "Billion Laughs" entity expansion denial of service attack and exploit via crafted XML files. ODF files consist of a set of XML files. All versions of Apache OpenOffice up to 4.1.10 are subject to this issue. expat in version 4.1.11 is patched.
From the CVE record by apache, last updated August 4, 2024, 02:44 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Apache Software Foundation | Apache OpenOffice | from Apache OpenOffice through 4.1.10 from OpenOffice.org through 3.4 |
As the CVE record by apache states it, last updated August 4, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | openoffice | through 4.1.10 | application |
NVD analysis (status Modified), last modified June 17, 2026, 04:06 UTC.
How severe is CVE-2021-40439?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H | NVD |
| Medium 4.3 | CVSS 2.0 | AV:N/AC:M/Au:N/C:N/I:N/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-40439 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 3.87% probability of exploitation activity in the next 30 days, percentile 90.5 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-611 Improper Restriction of XML External Entity Reference
Where are the vendor advisories and references?
- https://lists.apache.org/thread.html/rfb2c193360436e230b85547e85a41bea0916916f96c501f5b6fc4702%40%3Cusers.openoffice.apache.org%3E x_refsource_MISC
- [announce] 20211007 CVE-2021-40439: Apache OpenOffice: Billion Laughs mailing-list, x_refsource_MLIST
- [oss-security] 20211007 CVE-2021-40439: Apache OpenOffice: Billion Laughs mailing-list, x_refsource_MLIST
When was it published, and where is the official record?
- Reserved
- September 2, 2021
- Published
- October 7, 2021, 15:50 UTC
- CVE record updated
- August 4, 2024, 02:44 UTC by apache
- NVD
- Modified, last modified June 17, 2026, 04:06 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:54 UTC; KEV December 3, 2026, 13:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Apache OpenOffice?
- Dec 1, 2026CVE-2026-90640 Apache Software Foundation Apache OpenOffice: information disclosure in sent data
- Nov 30, 2026CVE-2026-90625 Apache Software Foundation Apache OpenOffice: external Control of File Name or Path
- Nov 30, 2026CVE-2026-90638 Apache Software Foundation Apache OpenOffice: out-of-bounds write (memory corruption)
- Nov 4, 2026CVE-2026-59267 Apache Software Foundation Apache OpenOffice: heap buffer overflow
- Nov 4, 2026CVE-2026-90632 Apache Software Foundation Apache OpenOffice: files or folders accessible to outside parties
- Nov 4, 2026CVE-2026-90634 Apache Software Foundation Apache OpenOffice: out-of-bounds write (memory corruption)
- Nov 4, 2026CVE-2026-90631 Apache Software Foundation Apache OpenOffice: improper Authorization in Handler for Custom URL Scheme
- Nov 4, 2026CVE-2026-90629 Apache Software Foundation Apache OpenOffice: out-of-bounds write (memory corruption)
Every CVE in Apache OpenOffice
Questions about CVE-2021-40439
Is CVE-2021-40439 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:08 UTC. FIRST's EPSS gives it a 3.87% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Apache Software Foundation Apache OpenOffice are affected by CVE-2021-40439?
Apache OpenOffice from Apache OpenOffice through 4.1.10 and Apache OpenOffice from OpenOffice.org through 3.4, per the CVE record by apache. The tables above give every range the sources list.
Which version fixes CVE-2021-40439?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2021-40439?
Medium (6.5, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2021-40439?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.