Skip to content
RedCVE

CVE-2026-113783Espressif Esp-idf stack-based buffer overflow

espressifPublished:

CVSS score

7.4

High

CVSS 3.1 from github.com

Exploit probability (EPSS)

0.35%

0.35% chance of exploitation in the next 30 days, higher than 29.3% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

Official description

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.

Source: NVD · CNA: security-advisories@github.com

How to fix it, step by step

  1. Check whether you're affected

    Find every system running espressif Esp-idf and compare its version with the affected versions.

  2. Update to a fixed version

    • Update Esp-idf to 5.3.7, 5.4.5, 5.5.6, 6.0.3 or later, on the branch you run.
  3. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
High

Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H

Affected products

Affected productsVersions
espressif Esp-idf>= 5.2.3, <= 5.2.8 · >= 5.3.2, < 5.3.7 · >= 5.4.0, < 5.4.5 · >= 5.5.0, < 5.5.6 · >= 6.0.0, < 6.0.3

Weakness

  • CWE-121 stack-based buffer overflow

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-113783 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.4% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-113783?

CVE-2026-113783 has a CVSS 3.1 base score of 7.4 (high).

Which versions are affected?

Espressif Esp-idf (>= 5.2.3, <= 5.2.8; >= 5.3.2, < 5.3.7; >= 5.4.0, < 5.4.5; >= 5.5.0, < 5.5.6; >= 6.0.0, < 6.0.3)

Is there a patch for CVE-2026-113783?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.