{"id":"CVE-2021-25832","aliases":["CVE-2021-25832"],"related":[],"kind":"vulnerability","state":"published","title":"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.","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Se encontró una vulnerabilidad de desbordamiento del búfer de la pila dentro del procesamiento de imágenes BMP en el módulo [core] de ONLYOFFICE DocumentServer versiones v4.0.0-9-v6.0.0.&#xa0;Con esta vulnerabilidad, un atacante puede conseguir ejecuciones de código remota en DocumentServer","source":"nvd"}],"published":"2021-03-01T15:08:57.000Z","modified":"2026-06-17T03:42:29.533Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-787"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.0.0-9","lastAffected":"6.0.0"}],"vendor":"onlyoffice","product":"document_server","cpe":"cpe:2.3:a:onlyoffice:document_server:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/ONLYOFFICE/DocumentServer","tags":["product","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ONLYOFFICE/core","tags":["product","vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ONLYOFFICE/core/blob/v6.0.1.15/DesktopEditor/cximage/CxImage/ximabmp.cpp#L358","tags":["vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ONLYOFFICE/core/blob/v6.0.1.15/DesktopEditor/cximage/CxImage/ximabmp.cpp#L354","tags":["vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ONLYOFFICE/core/blob/v6.0.1.15/ASCOfficePPTXFile/Editor/BinaryFileReaderWriter.cpp#L424","tags":["vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ONLYOFFICE/core/blob/v6.0.1.15/ASCOfficePPTXFile/Editor/BinaryFileReaderWriter.cpp#L428","tags":["vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/merrychap/poc_exploits/tree/master/ONLYOFFICE/CVE-2021-25832","tags":["exploit","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-25832","url":"https://www.cve.org/CVERecord?id=CVE-2021-25832","licence":"CVE Terms of Use","modified":"2024-08-03T20:11:28.498Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-25832","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25832","licence":"Public domain","modified":"2026-06-17T03:42:29.533Z"}],"updatedAt":"2026-11-25T22:58:00.101Z","epss":{"score":0.13116,"percentile":0.96448,"date":"2026-12-01T12:00:22.000Z"}}