Servers and applications
CVE-2026-47778
Embedded NUL in TLS DNS SAN Truncation in the Default TLS Certificate Validator. (Auth Bypass)
- Severity
- Medium 4.4
- Published
- 23 Jun 2026
- Last changed
- 25 Oct 2026
- Added to UpHeron
- 1 Nov 2026
- Fixed in
- 1.35.13, 1.36.9, 1.37.5, 1.38.3
- Exploit chance
- 0.2% in the next 30 daysHigher than 11% of CVEs. EPSS by FIRST, 19 Nov 2026
- Attack
- Over the network · Only under certain conditions · Needs an administrator account · No user action needed
- Attacker can
- Read data
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N- Also known as
- GHSA-f8x4-rw5x-f3r7
- Sources
- NVD, Project advisories (GitHub)
Description
Improper Certificate Validation (Embedded NUL Truncation) in Envoy Default TLS Certificate Validator. Severity: MEDIUM (Host Authentication Bypass / MITM) Affected Code: DefaultCertValidator::verifySubjectAltName (source/common/tls/cert_validator/default_validator.cc:399)
Envoy's standard TLS component validates the Subject Alternative Name (SAN) of certificates to ensure it matches the target upstream host.
A structural flaw was identified in DefaultCertValidator::verifySubjectAltName where the extracted DNS SAN string is cast to a C-style string using .c_str() before being passed to the Utility::dnsNameMatch() algorithm:
// source/common/tls/cert_validator/default_validator.cc
If the attacker serves a certificate with a dNSName SAN containing an embedded NUL byte, such as example.com\0.attacker.com, the helper Utility::generalNameAsString captures the complete string including the NUL.
Workarounds
Remove the .c_str() cast in DefaultCertValidator::verifySubjectAltName. Direct usage of the std::string guarantees the correct dimension mapping when passed as absl::string_view, protecting validation against embedded string termination manipulation.
--- source/common/tls/cert_validator/default_validator.cc +++ source/common/tls/cert_validator/default_validator.cc @@ -396,7 +396,7 @@ for (const GENERAL_NAME* general_name : san_names.get()) { const std::string san = Utility::generalNameAsString(general_name); for (auto& config_san : subject_alt_names) {
Affected software
| Software | Affected versions |
|---|---|
EnvoyServers and applications · cpe:a:envoyproxy:envoy |
|
EnvoyServers and applications · github:envoyproxy/envoy |
|
About Envoy
service proxy
- Docker Hub pulls
- 5,809,928,938Docker Hub, 15 Nov 2026
- GitHub stars
- 29,237GitHub, 15 Nov 2026
- Forks
- 5,728GitHub, 15 Nov 2026
- Latest release
- v1.40.2GitHub, 15 Nov 2026
- Released
- 27 Oct 2026GitHub
- Developer
- Alyssa WilkWikidata
- License
- Apache Software License 2.0Wikidata
- Written in
- C++Wikidata
- First released
- 8 Aug 2016Wikidata
- First published on GitHub
- 8 Aug 2016GitHub
Website Source code Docker image
Release lines
| Release | Latest | Security fixes |
|---|---|---|
| 1.40 | 1.40.2 | Until 13 Oct 2027 |
| 1.39 | 1.39.6 | Until 14 Jul 2027 |
| 1.38 | 1.38.9 | Until 23 Apr 2027 |
| 1.37 | 1.37.11 | Until 13 Jan 2027 |
| 1.36 | 1.36.13 | Ended 14 Oct 2026 |
| 1.35 | 1.35.13 | Ended 23 Jul 2026 |
From endoflife.date.
Vulnerabilities in Envoy
- In our list
- 132
- Published in the last 12 months
- 42
- Critical, last 12 months
- 2
- High, last 12 months
- 23
- Known exploited
- 2
- GHSA-3wvj-j6qm-62mrOut-of-Bounds Write in Brotli DecompressorCritical 9.2 23 Oct 2026
- CVE-2026-111497Bundled brotli decoder has an out-of-bounds write (CVE-2026-111497)Critical 9.2 21 Oct 2026 · Exploited
- GHSA-8vc2-jrm4-835wUnauthenticated remote crash (null pointer dereference) in the OAuth2 HTTP filter via a path-less CONNECT requestHigh 7.5 6 Oct 2026
- GHSA-47vj-9r25-wv5jCrash in api_key_auth HTTP filter when hiding credentials on requests without a :path header (CONNECT)Medium 6.5 6 Oct 2026
- CVE-2026-73513oghttp2 upstream trailers incorrect handlingHigh 7.5 26 Aug 2026
- CVE-2026-73552HTTP RBAC safe_regex can fail open on RFC-valid obs-text header valuesHigh 7.5 26 Aug 2026
References
- NVD https://nvd.nist.gov/vuln/detail/CVE-2026-47778
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-47778
- GitHub Advisory Database https://github.com/advisories/GHSA-f8x4-rw5x-f3r7
- github.com https://github.com/envoyproxy/envoy/security/advisories/GHSA-f8x4-rw5x-f3r7