Medium severity · published May 13, 2019
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
6.4
CVSS
0.4%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.0/AV:P/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Physical
Complexity
High
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 33% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
ES
Esp-idf · Espressif
2.0 before 3.0.6; 3.1 through 3.1.1 · source: NVD
Affected product
ES
Esp-idf
Espressif
More from Esp-idf
9.8
CVE-2025-52471
ESP-NOW Integer Underflow Vulnerability Advisory
9.1
CVE-2025-66409
ESF-IDF has an Out-of-Bounds Read in ESP32 Bluetooth AVRCP Command Handling
8.8
CVE-2026-45328
ESF-IDF: Out-of-Bounds Write in ESP-TEE Secure Service Wrappers
8.8
CVE-2025-55297
ESF-IDF BluFi Example Memory Overflow Vulnerability
8.8
CVE-2024-53406
Espressif Esp idf v5.3.0 is vulnerable to Insecure Permissions resulting in Authentication bypass