All Advisories / BE-2022-0017


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

Bentley ID: BE-2022-0017
CVE ID: CVE-2022-42899
Severity: 7.8
Publication date: 2022-10-12
Revision date: 2022-10-12

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

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

Affected Versions

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

Thanks to xina1i for discovering these vulnerabilities.

Revision History

Date Description
2022-10-12 First version of this advisory
2022-10-13 Adding CVE number