CVE-2025-66220
Envoy’s TLS certificate matcher for `match_typed_subject_alt_names` may incorrectly treat certificates containing an embedded null byte
MEDIUM 5.0
At a glance
- Source
- NVD
- EPSS
- EPSS 0.17 % · percentile 6 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- NVD status
- Analyzed
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.
Weaknesses (CWE)
- CWE-170 — Improper Null Termination
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.0 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:L/A:N | GitHub_M |
| CVSS 3.1 | MEDIUM 5.0 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:L/A:N | NVD · security-advisories@github.com (Secondary) |
| CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N | NVD · nvd@nist.gov (Primary) |
Advisories
- GHSA-rwjg-c3h2-f57p — Envoy's TLS certificate matcher for `match_typed_subject_alt_names` may incorrectly treat certificates containing an embedded null byte
European references
- ENISA EUVD · EUVD-2025-201090
- GCVE · GCVE-0-2025-66220
Affected configurations (NVD CPE)
cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:*< 1.33.13cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:*≥ 1.34.0 < 1.34.11cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:*≥ 1.35.0 < 1.35.7cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:*≥ 1.36.0 < 1.36.3
Affected products
| Product | Versions |
|---|---|
| envoyproxy · envoy | affected >= 1.36.0, <= 1.36.2 ; affected >= 1.35.0, <= 1.35.6 ; affected >= 1.34.0, <= 1.34.10 ; affected <= 1.33.12 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |