CVE-2021-31507
Description
This vulnerability allows remote attackers to execute arbitrary code on affected installations of OpenText Brava! Desktop 16.6.3.84. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the parsing of CGM files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-12653.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
A stack-based buffer overflow in OpenText Brava! Desktop 16.6.3.84 when parsing CGM files allows remote code execution via a malicious file or webpage.
Vulnerability
This vulnerability resides in the CGM file parsing component of OpenText Brava! Desktop version 16.6.3.84. The flaw is a stack-based buffer overflow caused by improper validation of the length of user-supplied data before copying it to a stack buffer. An attacker must convince a user to open a malicious CGM file or visit a crafted page that triggers parsing. [1]
Exploitation
Exploitation requires user interaction: the target must open a specially crafted CGM file or navigate to a malicious web page that loads the file into Brava! Desktop. The attacker does not need prior authentication or local access; the attack vector is remote, leveraging the user's action to trigger the overflow. [1]
Impact
Successful exploitation allows the attacker to execute arbitrary code in the context of the current process. Given the CVSS score of 7.8 (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H), the impact includes full compromise of confidentiality, integrity, and availability of the affected system. [1]
Mitigation
As of the publication date (2021-06-29), a vendor-supplied patch has not been publicly detailed in the reference. OpenText customers should consult the vendor's advisory for fixed version information. Until a patch is applied, avoid opening untrusted CGM files or visiting untrusted web pages that may load such files. [1]
AI Insight generated on May 27, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
2- Range: =16.6.3.84
- OpenText/Brava! Desktopv5Range: 16.6.3.84
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
1- www.zerodayinitiative.com/advisories/ZDI-21-685/mitrex_refsource_MISC
News mentions
0No linked articles in our index yet.