2026-10-30 17:19CVE-2026-119760VulnCheck
PUBLISHED5.2CWE-476

sniproxy through 0.7.0 NULL Pointer Dereference via resolv_cancel()

sniproxy through 0.7.0 contains a NULL pointer dereference vulnerability in resolv_cancel() that allows remote unauthenticated attackers to crash the daemon by sending overlong hostnames. Attackers can send a 254 or 255 character TLS SNI name or HTTP Host header matching a wildcard backend, then close the connection to terminate the proxy.

Problem type

Affected products

dlundquist

sniproxy

<= 0.7.0 - AFFECTED

References

GitHub Security Advisories

GHSA-v5q9-7x5c-3phf

sniproxy through 0.7.0 contains a NULL pointer dereference vulnerability in resolv_cancel() that...

https://github.com/advisories/GHSA-v5q9-7x5c-3phf

sniproxy through 0.7.0 contains a NULL pointer dereference vulnerability in resolv_cancel() that allows remote unauthenticated attackers to crash the daemon by sending overlong hostnames. Attackers can send a 254 or 255 character TLS SNI name or HTTP Host header matching a wildcard backend, then close the connection to terminate the proxy.

JSON source

https://cveawg.mitre.org/api/cve/CVE-2026-119760
Click to expand
{
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "cveMetadata": {
    "cveId": "CVE-2026-119760",
    "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
    "assignerShortName": "VulnCheck",
    "dateUpdated": "2026-10-30T17:19:53.212Z",
    "dateReserved": "2026-10-30T15:35:11.988Z",
    "datePublished": "2026-10-30T17:19:53.212Z",
    "state": "PUBLISHED"
  },
  "containers": {
    "cna": {
      "providerMetadata": {
        "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
        "shortName": "VulnCheck",
        "dateUpdated": "2026-10-30T17:19:53.212Z"
      },
      "datePublic": "2026-10-23T00:00:00.000Z",
      "title": "sniproxy through 0.7.0 NULL Pointer Dereference via resolv_cancel()",
      "descriptions": [
        {
          "lang": "en",
          "value": "sniproxy through 0.7.0 contains a NULL pointer dereference vulnerability in resolv_cancel() that allows remote unauthenticated attackers to crash the daemon by sending overlong hostnames. Attackers can send a 254 or 255 character TLS SNI name or HTTP Host header matching a wildcard backend, then close the connection to terminate the proxy."
        }
      ],
      "affected": [
        {
          "vendor": "dlundquist",
          "product": "sniproxy",
          "repo": "https://github.com/dlundquist/sniproxy",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "0",
              "status": "affected",
              "versionType": "semver",
              "lessThanOrEqual": "0.7.0"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "lang": "en",
              "description": "NULL Pointer Dereference",
              "cweId": "CWE-476",
              "type": "CWE"
            }
          ]
        }
      ],
      "references": [
        {
          "url": "https://github.com/dlundquist/sniproxy/issues/411",
          "tags": [
            "issue-tracking"
          ]
        },
        {
          "url": "https://github.com/dlundquist/sniproxy/blob/1cc625ea41796695a54593d1bd779366b82b8b4e/src/connection.c#L737-L738",
          "tags": [
            "technical-description"
          ]
        },
        {
          "url": "https://github.com/dlundquist/sniproxy/blob/1cc625ea41796695a54593d1bd779366b82b8b4e/src/resolv.c#L219-L224",
          "tags": [
            "technical-description"
          ]
        },
        {
          "url": "https://github.com/renaudallard/sniproxy/commit/d5d78290c8fe15d9aa12185d2c57739b7b0c6a6b",
          "tags": [
            "patch"
          ]
        },
        {
          "url": "https://github.com/renaudallard/sniproxy/commit/17986ba7397297313331297cac3b9eb3f0ba96b7",
          "tags": [
            "patch"
          ]
        },
        {
          "url": "https://github.com/dlundquist/sniproxy",
          "tags": [
            "product"
          ]
        },
        {
          "url": "https://www.vulncheck.com/advisories/sniproxy-through-0.7.0-null-pointer-dereference-via-resolv-cancel",
          "name": "VulnCheck Advisory: sniproxy through 0.7.0 NULL Pointer Dereference via resolv_cancel()",
          "tags": [
            "third-party-advisory"
          ]
        }
      ],
      "metrics": [
        {
          "format": "CVSS"
        },
        {
          "format": "CVSS",
          "cvssV3_1": {
            "version": "3.1",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
            "attackVector": "NETWORK",
            "attackComplexity": "LOW",
            "privilegesRequired": "NONE",
            "userInteraction": "NONE",
            "scope": "UNCHANGED",
            "confidentialityImpact": "NONE",
            "integrityImpact": "NONE",
            "availabilityImpact": "HIGH",
            "baseScore": 7.5,
            "baseSeverity": "HIGH"
          }
        }
      ],
      "credits": [
        {
          "lang": "en",
          "value": "Renaud Allard",
          "type": "finder"
        }
      ]
    }
  }
}