All Advisories / BE-2022-0020


BE-2022-0020: DGN File Parsing Out-of-bounds Read and Stack Overflow Vulnerabilities in MicroStation and MicroStation-based applications

Bentley ID: BE-2022-0020
CVE ID: CVE-2022-40201, CVE-2022-41613
Severity: 7.8
Publication date: 2022-10-20
Revision date: 2022-10-20

MicroStation and MicroStation-based applications may be affected by out-of-bounds read and stack overflow vulnerabilities when opening maliciously crafted DGN files. Exploiting these vulnerabilities could lead to information disclosure or arbitrary code execution.

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

Affected Versions

Applications Affected Versions Mitigated Versions
MicroStation and prior versions 10.17.1.* and more recent
Bentley View and prior versions 10.17.1.* 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 DGN files coming from trusted sources.

Thanks to Michael Heinzl and the Industrial Control Systems Vulnerability Management and Coordination (ICS-VMC) Cybersecurity and Infrastructure Security Agency (CISA) US Department of Homeland Security (DHS) for discovering these vulnerabilities.

Revision History

Date Description
2022-10-20 First version of this advisory
2022-10-28 Adding acknowledgment

Celebrate Infrastructure Delivery & Performance Excellence

The 2024 Year in Infrastructure
and Going Digital Awards

Nominate a project for the most prestigious awards in infrastructure! Extended deadline to enter is April 29th.