{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:sthttpd_project:sthttpd:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "2.27.1"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "2845bf5bff2b820d2336c8c8061cbfc5f271e720"
            }
          ],
          "repo": "https://github.com/blueness/sthttpd",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {},
  "details": "An issue was discovered in sthttpd through 2.27.1. On systems where the strcpy function is implemented with memcpy, the de_dotdot function may cause a Denial-of-Service (daemon crash) due to overlapping memory ranges being passed to memcpy. This can triggered with an HTTP GET request for a crafted filename. NOTE: this is similar to CVE-2017-10671, but occurs in a different part of the de_dotdot function.",
  "id": "CVE-2021-26843",
  "modified": "2026-07-08T05:37:59.030017500Z",
  "published": "2021-02-07T21:15:11.790Z",
  "references": [
    {
      "type": "EVIDENCE",
      "url": "https://github.com/blueness/sthttpd/issues/14"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ]
}