Vulnerabilities · 2021 · Onlyoffice
CVE-2021-25832
Onlyoffice Document Server vulnerability
A heap buffer overflow vulnerability inside of BMP image processing was found at [core] module of ONLYOFFICE DocumentServer v4.0.0-9-v6.0.0. Using this vulnerability, an attacker is able to gain remote code executions on DocumentServer.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Document Server. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Onlyoffice Document Server runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/ONLYOFFICE/core · Vendor Advisory
- github.com/ONLYOFFICE/core/blob/v6.0.1.15/ASCOfficePPTXFile/Editor/BinaryFileReaderWriter. · Vendor Advisory
- github.com/ONLYOFFICE/core/blob/v6.0.1.15/ASCOfficePPTXFile/Editor/BinaryFileReaderWriter. · Vendor Advisory
- github.com/ONLYOFFICE/core/blob/v6.0.1.15/DesktopEditor/cximage/CxImage/ximabmp.cpp#L354 · Vendor Advisory
- github.com/ONLYOFFICE/core/blob/v6.0.1.15/DesktopEditor/cximage/CxImage/ximabmp.cpp#L358 · Vendor Advisory
- github.com/merrychap/poc_exploits/tree/master/ONLYOFFICE/CVE-2021-25832 · Exploit
- github.com/ONLYOFFICE/DocumentServer
- nvd.nist.gov/vuln/detail/CVE-2021-25832
- cve.org/CVERecord?id=CVE-2021-25832
More vulnerabilities in Onlyoffice products
CVE-2025-68936CVE-2025-68935CVE-2024-44085CVE-2023-50883CVE-2023-46988CVE-2023-34939CVE-2023-30188CVE-2023-30187All 31
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.