Common Vulnerability Exposure BE-2022-0002

BE-2022-0002: 3DM File Parsing Uninitialized Variable in MicroStation and MicroStation-based applications

Bentley ID: BE-2022-0002
CVE ID: CVE-2022-28320, CVE-2022-28319
Severity: 7.8 (High)
Publication date: 5th April 2022
Revision date:  5th April 2022


MicroStation and MicroStation-based applications may be affected by file parsing uninitialized variable vulnerabilities when opening maliciously crafted 3DM files. Exploiting these vulnerabilities could lead to arbitrary code execution.


The following vulnerabilities related to this advisory were discovered by TrendMicro ZDI: ZDI-CAN-16282 and ZDI-CAN-16340

Using an affected version of MicroStation or MicroStation-based application to open a 3DM file containing maliciously crafted data can trigger arbitrary code execution. Exploitation of these vulnerabilities within the parsing of 3DM files could enable an attacker to execute arbitrary code in the context of the current process. 

Affected Versions

ApplicationsAffected VersionsMitigated Versions
MicroStation10.16.02.* and prior version10.16.03.* and more recent
Bentley View10.16.02.* and prior version10.16.03.* and more recent

Recommended Mitigations

Bentley recommends updating to the latest versions of MicroStation and MicroStation-based applications. As a general best practice, it is also recommended to only open 3DM files coming from trusted sources.


Thanks to Mat Powell of Trend Micro Zero Day Initiative for discovering these vulnerabilities.

Revision History

5th April 2022First version of the advisory