{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "7.10"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "b379816178abdcd59135aa32f990a4b3bbbfb54b"
            },
            {
              "fixed": "5c8e05a4fc34c5309ceea887a7e60b895b2100d7"
            }
          ],
          "repo": "https://github.com/cesanta/mongoose",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "Due to a failure in validating the length of a provided MQTT_CMD_PUBLISH parsed message with a variable length header, Cesanta Mongoose, an embeddable web server, version 7.10 is susceptible to a heap-based buffer overflow vulnerability in the default configuration. Version 7.9 and prior does not appear to be vulnerable. This issue is resolved in version 7.11.\n",
  "id": "CVE-2023-2905",
  "modified": "2026-03-15T21:49:09.471971218Z",
  "published": "2023-08-09T05:15:40.740Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/cesanta/mongoose/releases/tag/7.11"
    },
    {
      "type": "FIX",
      "url": "https://github.com/cesanta/mongoose/pull/2274"
    },
    {
      "type": "FIX",
      "url": "https://takeonme.org/cves/CVE-2023-2905.html"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}