CVE-2026-113783
ESP-IDF: Stack-based memory corruption in lwIP DNS/SNTP handling for multi-IP DNS responses
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | CVE-2026-113783 divulgada · CVSS 7.4 (CNA) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Fuente: NIST NVD | Registro visto por primera vez en NIST NVD | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación ninguna | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Fuente: OSV | Registro visto por primera vez en OSV | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Espressif's ESP-IDF framework for IoT devices has a stack-based memory corruption flaw in its lwIP DNS lookup handling, which occurs when a cached hostname has multiple A or AAAA records and the configuration allows more than one address per host. An attacker who can influence DNS responses can reach it remotely, without logging in, and can cause a device reboot or potentially redirect control flow.
Affects ESP-IDF 5.2.3-5.2.8, 5.3.2-5.3.6, 5.4.0-5.4.4, 5.5.0-5.5.5 and 6.0.0-6.0.2 with CONFIG_LWIP_DNS_MAX_HOST_IP set to 2 or higher. Fixed in 5.3.7, 5.4.5, 5.5.6 and 6.0.3.
Descripción original del registro (GitHub_M)
ESP-IDF is the Espressif Internet of Things (IOT) Development Framework. From 5.2.3 until 5.3.7, 5.4.5, 5.5.6, and 6.0.3, the lwIP DNS resolver's cached-lookup path in dns_lookup() in dns.c copies every cached address into a caller-provided single ip_addr_t output buffer without a length parameter or bounds check. When CONFIG_LWIP_DNS_MAX_HOST_IP is greater than 1 and a cached hostname has multiple A or AAAA records, a subsequent lookup through dns_gethostbyname() or dns_gethostbyname_addrtype() writes beyond the single-element buffer into adjacent stack memory. A network-positioned attacker who influences DNS responses can cause a reboot through stack-canary corruption or, without stack protection, overwrite stack variables with attacker-controlled address bytes and potentially redirect control flow. This issue is fixed in versions 5.5.6 and 6.0.3 and is scheduled to be fixed in versions 5.3.7 and 5.4.5. No fixed release is available for the end-of-life 5.2 line.
Condiciones y alcance
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
esp-idf |
Corregida | 5.3.7, 5.4.5, 5.5.6, 6.0.3 | — | — |
5.3.75.4.55.5.66.0.3Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/espressif/esp-idf/security/advisories/GHSA-ch63-jxm5-vmvfhttps://github.com/espressif/esp-idf/commit/75f2ff7e0c2d19e113293ec122b701c83d2f6665https://github.com/espressif/esp-idf/commit/7ab85eb4dc7d7695960d940badcd62592c365056https://github.com/espressif/esp-idf/commit/882843dbf838b0c02e09d46bb6283bda73496b8chttps://github.com/espressif/esp-idf/commit/98e6e7a08fca391563651a1e751cc45a3b27d18bhttps://github.com/espressif/esp-idf/commit/af7543d00a4d7b489e010a70b59fd3d8022a40f4https://github.com/espressif/esp-idf/commit/defaa2f559470acfee5e2e5ea80a79b73424d483Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
