{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "6.13"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "95afa323c0e7740151f661629616daebe2915b61"
            }
          ],
          "repo": "https://github.com/cesanta/mongoose",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "An invalid write of 8 bytes due to a use-after-free vulnerability in the mg_http_free_proto_data_cgi function call in mongoose.c in Cesanta Mongoose Embedded Web Server Library 6.13 and earlier allows a denial of service (application crash) or remote code execution.",
  "id": "CVE-2018-20355",
  "modified": "2026-03-13T21:49:10.282614991Z",
  "published": "2019-06-10T17:29:02.127Z",
  "references": [
    {
      "type": "EVIDENCE",
      "url": "https://github.com/insi2304/mongoose-6.13-fuzz/blob/master/Simplest_Web_Server_Use_After_Free-mg_http_free_proto_data_cgi.png"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}