{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "4.0.0-9"
              },
              {
                "last_affected": "5.6.3"
              }
            ]
          },
          "events": [
            {
              "introduced": "1e2a61f6f4321e2571474068595dfe23a657cbdf"
            },
            {
              "last_affected": "0187bea803abdd2b2b6ad8168272d77e27739add"
            }
          ],
          "repo": "https://github.com/onlyoffice/documentserver",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "An improper binary stream data handling issue was found in the [core] module of ONLYOFFICE DocumentServer v4.0.0-9-v5.6.3. Using this bug, an attacker is able to produce a denial of service attack that can eventually shut down the target server.",
  "id": "CVE-2021-25829",
  "modified": "2026-04-01T23:10:25.755407504Z",
  "published": "2021-03-01T16:15:14.150Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/ONLYOFFICE/core/blob/c1e4a2ce33bdcfab29d670f5fdb10fc63cf5fd6a/ASCOfficePPTXFile/PPTXFormat/NotesMaster.h#L148"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/ONLYOFFICE/core/blob/c1e4a2ce33bdcfab29d670f5fdb10fc63cf5fd6a/ASCOfficePPTXFile/PPTXFormat/NotesSlide.h#L141"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/ONLYOFFICE/core/blob/c1e4a2ce33bdcfab29d670f5fdb10fc63cf5fd6a/ASCOfficePPTXFile/PPTXFormat/Presentation.h#L277"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/ONLYOFFICE/core/blob/v5.6.4.10/ASCOfficePPTXFile/Editor/BinaryFileReaderWriter.cpp#L1722"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/ONLYOFFICE/core/blob/c1e4a2ce33bdcfab29d670f5fdb10fc63cf5fd6a/ASCOfficePPTXFile/PPTXFormat/Comments.h#L299"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/ONLYOFFICE/core/blob/c1e4a2ce33bdcfab29d670f5fdb10fc63cf5fd6a/ASCOfficePPTXFile/PPTXFormat/Core.h#L161"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/ONLYOFFICE/core/blob/c1e4a2ce33bdcfab29d670f5fdb10fc63cf5fd6a/ASCOfficePPTXFile/PPTXFormat/Theme.h#L277"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/ONLYOFFICE/core"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/ONLYOFFICE/DocumentServer"
    },
    {
      "type": "EVIDENCE",
      "url": "https://github.com/merrychap/poc_exploits/tree/master/ONLYOFFICE/CVE-2021-25829"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ]
}