CVE-2021-34896: Bentley View BMP File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability

Published Jan 13, 2022
·
Updated

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Bentley View 10.15.0.75. 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 BMP files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-14863.

Other sources

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Bentley View. 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 BMP files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process.

Affected Software

3 affected components
Bentley Bentley View<10.16.02
Bentley MicroStation<10.16.02
Bentley View

Event History

Jan 13, 2022
CVE Published
via MITRE·09:43 PM
Data Sourced
via MITRE·09:43 PM
DescriptionSeverityWeakness
Feb 27, 2025
Advisory Published
via ZDI·05:50 PM

Frequently Asked Questions

1

What is the severity of CVE-2021-34896?

CVE-2021-34896 has a severity rating that indicates it allows remote code execution when a user interacts with a malicious page or file.

2

How do I fix CVE-2021-34896?

To mitigate CVE-2021-34896, upgrade Bentley View and MicroStation to versions later than 10.16.02.

3

What software is affected by CVE-2021-34896?

CVE-2021-34896 affects Bentley View version 10.15.0.75 and earlier, as well as Bentley MicroStation version 10.15.0.75 and earlier.

4

Is user interaction required to exploit CVE-2021-34896?

Yes, exploiting CVE-2021-34896 requires user interaction, such as visiting a malicious webpage or opening a malicious file.

5

What type of attack does CVE-2021-34896 enable?

CVE-2021-34896 enables remote attackers to execute arbitrary code on vulnerable systems.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203