Skip to content
Heist/ feed
Back to feed
Medium

Envoy’s TLS certificate matcher for `match_typed_subject_alt_names` may incorrectly treat certificates containing an embedded null byte

Type: advisorySources: OSV

Envoy is a high-performance edge/middle/service proxy. In 1.33.12, 1.34.10, 1.35.6, 1.36.2, and earlier, Envoy’s mTLS certificate matcher for match_typed_subject_alt_names may incorrectly treat certificates containing an embedded null byte (\0) inside an OTHERNAME SAN value as valid matches.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-66220
Confirmed fixed CVEs
Not specified
Updated in this feed
6 Nov 2026, 19:03 UTC · Revision 1

Source evidence

Envoy’s TLS certificate matcher for `match_typed_subject_alt_names` may incorrectly treat certificates containing an embedded null byte

core-osv · Original source

Published 3 Dec 2025, 18:31 UTC

Envoy is a high-performance edge/middle/service proxy. In 1.33.12, 1.34.10, 1.35.6, 1.36.2, and earlier, Envoy’s mTLS certificate matcher for match_typed_subject_alt_names may incorrectly treat certificates containing an embedded null byte (\0) inside an OTHERNAME SAN value as valid matches.

osv:CVE-2025-66220
Complete source record
{
  "id": "287546aab90b95774011bf69e2060a36912438d6b9f734604799e14318b1220a",
  "url": "https://osv.dev/vulnerability/CVE-2025-66220",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Envoy’s TLS certificate matcher for `match_typed_subject_alt_names` may incorrectly treat certificates containing an embedded null byte",
    "summary": "Envoy is a high-performance edge/middle/service proxy. In 1.33.12, 1.34.10, 1.35.6, 1.36.2, and earlier, Envoy’s mTLS certificate matcher for match_typed_subject_alt_names may incorrectly treat certificates containing an embedded null byte (\\0) inside an OTHERNAME SAN value as valid matches.",
    "evidence": "osv:CVE-2025-66220",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-66220",
      "aliases": [
        "BIT-envoy-2025-66220",
        "CVE-2025-66220",
        "GHSA-rwjg-c3h2-f57p"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/envoyproxy/envoy",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "b2670bbebda00060fc96f3cf9f0d6d2945e26ccf"
                },
                {
                  "introduced": "d7809ba2b07fd869d49bfb122b27f6a7977b4d94"
                },
                {
                  "fixed": "35e736f3dba538646bff402975604cfd3fe4a700"
                },
                {
                  "introduced": "84305a6cb64bd55aaf606bdd53de7cd6080427a1"
                },
                {
                  "fixed": "607aaa985080750ae29ac9f6e49a31a5445d28f4"
                },
                {
                  "introduced": "63ee0dc79dce88117c6bd2df5a742f8eb67ea980"
                },
                {
                  "fixed": "ddabe691e1aaa74b848d0782dab9dbea3b280319"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.33.13"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.34.0"
                      },
                      {
                        "fixed": "1.34.11"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.35.0"
                      },
                      {
                        "fixed": "1.35.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.36.0"
                      },
                      {
                        "fixed": "1.36.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.34.10",
            "v1.35.6",
            "v1.36.2",
            "v1.33.12",
            "v1.36.1",
            "v1.35.5",
            "v1.33.11",
            "v1.34.9",
            "v1.36.0",
            "v1.35.4",
            "v1.34.8",
            "v1.33.10",
            "v1.33.9",
            "v1.35.3",
            "v1.34.7",
            "v1.35.2",
            "v1.33.8",
            "v1.34.6",
            "v1.34.5",
            "v1.35.1",
            "v1.33.7",
            "v1.34.4",
            "v1.33.6",
            "v1.35.0",
            "v1.34.3",
            "v1.33.5",
            "v1.34.2",
            "v1.33.4",
            "v1.33.3",
            "v1.34.1",
            "v1.34.0",
            "v1.33.2",
            "v1.33.1",
            "v1.33.0",
            "v1.32.0",
            "v1.31.0",
            "v1.30.0",
            "v1.29.0",
            "v1.28.0",
            "v1.27.0",
            "v1.26.0",
            "v1.25.0",
            "v1.24.0",
            "v1.23.0",
            "v1.22.0",
            "v1.21.0",
            "v1.20.0",
            "v1.19.0",
            "v1.18.2",
            "v1.18.1",
            "v1.18.0",
            "v1.17.0",
            "v1.16.0",
            "v1.15.0",
            "v1.14.0",
            "v1.13.0",
            "v1.12.0",
            "v1.11.0",
            "v1.10.0",
            "v1.9.0",
            "v1.8.0",
            "v1.7.0",
            "v1.6.0",
            "v1.5.0",
            "v1.4.0",
            "v1.3.0",
            "v1.2.0",
            "v1.1.0",
            "v1.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-66220.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:47.917565090Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/66xxx/CVE-2025-66220.json",
        "https://github.com/envoyproxy/envoy/security/advisories/GHSA-rwjg-c3h2-f57p",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-66220"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-170"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/66xxx/CVE-2025-66220.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-66220",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 515937,
  "published_at": "2025-12-03T18:31:50.389+00:00"
}