CVE-2021-40439
Homebrew vulnerability analysis and mitigation

Overview

CVE-2021-40439 is a security vulnerability affecting Apache OpenOffice that was disclosed on October 7, 2021. The vulnerability stems from a dependency on the expat software library, which was susceptible to a 'Billion Laughs' entity expansion denial of service attack through crafted XML files. This issue affects all versions of Apache OpenOffice up to 4.1.10, as ODF files consist of a set of XML files (NVD, HelpNet Security).

Technical details

The vulnerability has been assigned a CVSS v3.1 base score of 6.5 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H. The issue is related to CVE-2013-0340, specifically concerning the improper restriction of XML external entity references (CWE-611). The vulnerability allows for denial of service attacks through crafted XML files, which can be exploited when processing ODF documents (NVD).

Impact

The vulnerability can lead to denial of service conditions when processing specially crafted ODF files. Since OpenOffice uses XML files as part of its document format, this vulnerability could allow attackers to create malicious documents that, when opened, could cause system resource exhaustion through the 'Billion Laughs' attack pattern (HelpNet Security).

Mitigation and workarounds

The vulnerability has been patched in Apache OpenOffice version 4.1.11, which includes an updated version of the expat library. Users of Apache OpenOffice 4.1.10 or earlier versions are strongly advised to upgrade to the latest version (HelpNet Security).

Additional resources


SourceThis report was generated using AI

Related Homebrew vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-21693HIGH8.8
  • HomebrewHomebrew
  • iccdev
NoYesJan 07, 2026
CVE-2026-21692HIGH8.8
  • HomebrewHomebrew
  • iccdev
NoYesJan 07, 2026
CVE-2025-69262HIGH7.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2026-21885MEDIUM6.5
  • NixOSNixOS
  • miniflux
NoYesJan 08, 2026
CVE-2026-21691MEDIUM6.5
  • HomebrewHomebrew
  • iccdev
NoYesJan 07, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management