{"id":"CVE-2021-25831","aliases":["CVE-2021-25831"],"related":[],"kind":"vulnerability","state":"published","title":"A file extension handling issue was found in [core] module of ONLYOFFICE DocumentServer v4.0.0-9-v5.6.3.","summary":"A file extension handling issue was found in [core] module of ONLYOFFICE DocumentServer v4.0.0-9-v5.6.3. An attacker must request the conversion of the crafted file from PPTT into PPTX format. Using the chain of two other bugs related to improper string handling, a remote attacker can obtain remote code execution on DocumentServer.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A file extension handling issue was found in [core] module of ONLYOFFICE DocumentServer v4.0.0-9-v5.6.3. An attacker must request the conversion of the crafted file from PPTT into PPTX format. Using the chain of two other bugs related to improper string handling, a remote attacker can obtain remote code execution on DocumentServer.","source":"cvelist"},{"lang":"es","text":"Se encontró un problema de manejo de extensiones de archivo en el módulo [core] de ONLYOFFICE DocumentServer versiones v4.0.0-9-v5.6.3.&#xa0;Un atacante debe pedir la conversión del archivo diseñado de PPTT a formato PPTX.&#xa0;Al Usar la cadena de otros dos bugs relacionados con el manejo inapropiado de cadenas, un atacante remoto puede obtener una ejecución de código remota en DocumentServer","source":"nvd"}],"published":"2021-03-01T15:08:37.000Z","modified":"2026-06-17T03:42:29.403Z","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":[],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.0.0-9","lastAffected":"5.6.3"}],"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/v5.6.4.13/ASCOfficePPTXFile/Editor/BinaryFileReaderWriter.cpp#L241","tags":["vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ONLYOFFICE/core/blob/v5.6.4.13/ASCOfficePPTXFile/Editor/BinaryFileReaderWriter.cpp#L1918","tags":["vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ONLYOFFICE/core/blob/v5.6.4.13/ASCOfficePPTXFile/PPTXFormat/Logic/Fills/BlipFill.cpp#L328","tags":["vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/merrychap/poc_exploits/tree/master/ONLYOFFICE/CVE-2021-25831","tags":["exploit","vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-25831","url":"https://www.cve.org/CVERecord?id=CVE-2021-25831","licence":"CVE Terms of Use","modified":"2024-08-03T20:11:28.475Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-25831","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25831","licence":"Public domain","modified":"2026-06-17T03:42:29.403Z"}],"updatedAt":"2026-11-25T22:58:00.100Z","epss":{"score":0.11986,"percentile":0.9622,"date":"2026-12-01T12:00:22.000Z"}}