CVE-2026-47778

Envoy is an open source edge and service proxy designed for cloud-native applications. Prior to 1.35.11, 1.36.7, 1.37.3, and 1.38.1, 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. If the attacker serves a certificate with a dNSName SAN containing an embedded NUL byte, the helper Utility::generalNameAsString captures the complete string including the NUL. However, when .c_str() evaluates it, implicit conversion to absl::string_view inside dnsNameMatch relies on strlen(), prematurely truncating the evaluation context. Envoy evaluates trucated string against the exact required config_san match and returns true, thereby successfully validating the string with the Nul byte for an upstream routing. This vulnerability is fixed in 1.35.11, 1.36.7, 1.37.3, and 1.38.1.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:*
cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:*
cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:*
cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:*

History

25 Oct 2026, 17:10

Type Values Removed Values Added
Summary
  • (es) Envoy es un proxy de borde y de servicio de código abierto diseñado para aplicaciones nativas de la nube. Antes de 1.35.11, 1.36.7, 1.37.3 y 1.38.1, se identificó una falla estructural en DefaultCertValidator::verifySubjectAltName donde la cadena DNS SAN extraída se convierte a una cadena de estilo C usando .c_str() antes de ser pasada al algoritmo Utility::dnsNameMatch(). Si el atacante sirve un certificado con un dNSName SAN que contiene un byte NUL incrustado, la función auxiliar Utility::generalNameAsString captura la cadena completa incluyendo el NUL. Sin embargo, cuando .c_str() lo evalúa, la conversión implícita a absl::string_view dentro de dnsNameMatch se basa en strlen(), truncando prematuramente el contexto de evaluación. Envoy evalúa la cadena truncada contra la coincidencia exacta requerida de config_san y devuelve true, validando así exitosamente la cadena con el byte NUL para un enrutamiento ascendente. Esta vulnerabilidad se corrige en 1.35.11, 1.36.7, 1.37.3 y 1.38.1.

Information

Published : 2026-06-26 18:16

Updated : 2026-10-25 17:10


NVD link : CVE-2026-47778

Mitre link : CVE-2026-47778

CVE.ORG link : CVE-2026-47778


JSON object : View

Products Affected

envoyproxy

  • envoy
CWE
CWE-158

Improper Neutralization of Null Byte or NUL Character