{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "41"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "60a3719ec739be2cc1e11724ac049b09a75059cb"
            },
            {
              "fixed": "56d0332bf91104cfc877635f6c82e9348587df04"
            }
          ],
          "repo": "https://github.com/pymumu/smartdns",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "SmartDNS through 41 before 56d0332 allows an out-of-bounds write because of a stack-based buffer overflow in the _dns_encode_domain function in the dns.c file, via a crafted DNS request.",
  "id": "CVE-2023-31470",
  "modified": "2026-03-13T21:50:44.733087286Z",
  "published": "2023-04-28T21:15:09.307Z",
  "references": [
    {
      "type": "FIX",
      "url": "https://github.com/pymumu/smartdns/commit/56d0332bf91104cfc877635f6c82e9348587df04"
    },
    {
      "type": "EVIDENCE",
      "url": "https://github.com/pymumu/smartdns/issues/1378"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}