Home / Espressif / Esp-idf / CVE-2018-18558
CVE-2018-18558: is it exploited, and which versions of Espressif Esp-idf are affected and fixed?
CVE-2018-18558 is an improper input validation vulnerability in Espressif Esp-idf. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 08:38 UTC). Affected: esp-idf from 2.0 before 3.0.6 and esp-idf from 3.1 through 3.1.1 (NVD). Fixed in 3.0.6 (NVD). Severity: Medium (6.4, CVSS 3.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 08:38 UTC, CVE record November 19, 2026, 07:17 UTC and NVD November 19, 2026, 08:23 UTC.
What is CVE-2018-18558?
An issue was discovered in Espressif ESP-IDF 2.x and 3.x before 3.0.6 and 3.1.x before 3.1.1. Insufficient validation of input data in the 2nd stage bootloader allows a physically proximate attacker to bypass secure boot checks and execute arbitrary code, by crafting an application binary that overwrites a bootloader code segment in process_segment in components/bootloader_support/src/esp_image_format.c. The attack is effective when the flash encryption feature is not enabled, or if the attacker finds a different vulnerability that allows them to write this binary to flash memory.
From the CVE record by mitre, last updated August 5, 2024, 11:15 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| espressif | esp-idf | from 2.0 before 3.0.6 | application |
| espressif | esp-idf | from 3.1 through 3.1.1 | application |
NVD analysis (status Modified), last modified June 17, 2026, 01:47 UTC.
How severe is CVE-2018-18558?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.4 | CVSS 3.0 | CVSS:3.0/AV:P/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| Medium 6.9 | CVSS 2.0 | AV:L/AC:M/Au:N/C:C/I:C/A:C | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2018-18558 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.39% probability of exploitation activity in the next 30 days, percentile 35.6 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-20 Improper Input Validation
Where are the vendor advisories and references?
- https://github.com/espressif/esp-idf/releases x_refsource_MISC
- https://www.espressif.com/en/news/Espressif_Product_Security_Advisory_Concerning_Secure_Boot_%28CVE-2018-18558%29 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- October 22, 2018
- Published
- May 13, 2019, 12:49 UTC
- CVE record updated
- August 5, 2024, 11:15 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 01:47 UTC
- Last checked
- CVE list November 19, 2026, 07:17 UTC; NVD November 19, 2026, 08:23 UTC; KEV December 3, 2026, 08:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Esp-idf?
- Nov 17, 2026CVE-2026-113781 espressif esp-idf: signed to Unsigned Conversion Error
- Nov 4, 2026CVE-2026-113780 espressif esp-idf: out-of-bounds write (memory corruption)
- Nov 4, 2026CVE-2026-113783 espressif esp-idf: stack buffer overflow
- Nov 4, 2026CVE-2026-113782 espressif esp-idf: stack buffer overflow
- Oct 13, 2026CVE-2026-81507 espressif esp-idf: out-of-bounds read
- Sep 24, 2026CVE-2026-81508 espressif esp-idf: out-of-bounds read
- Jul 10, 2026CVE-2026-55687 espressif esp-idf: stack buffer overflow
- Jun 10, 2026CVE-2026-46532 espressif esp-idf: out-of-bounds read
Questions about CVE-2018-18558
Is CVE-2018-18558 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 08:38 UTC. FIRST's EPSS gives it a 0.39% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Espressif Esp-idf are affected by CVE-2018-18558?
esp-idf from 2.0 before 3.0.6 and esp-idf from 3.1 through 3.1.1, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2018-18558?
3.0.6, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2018-18558?
Medium (6.4, CVSS 3.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2018-18558?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.