{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2018-18558","published":"2019-05-13T13:29:02.103000Z","last_modified":"2026-06-17T01:47:30.130000Z","status":"Modified","cvss":{"version":"3.0","score":6.4,"severity":"MEDIUM","vector":"CVSS:3.0/AV:P/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-20"],"cpes":[{"criteria":"cpe:2.3:a:espressif:esp-idf:*:*:*:*:*:*:*:*","part":"a","vendor":"espressif","product":"esp-idf","version_start_including":"2.0","version_end_excluding":"3.0.6"},{"criteria":"cpe:2.3:a:espressif:esp-idf:*:*:*:*:*:*:*:*","part":"a","vendor":"espressif","product":"esp-idf","version_start_including":"3.1","version_end_including":"3.1.1"}],"cpes_truncated":false,"vendors":["espressif"],"products":["espressif/esp-idf"],"epss":{"score":0.00393,"percentile":0.25148,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":38,"links":{"html_es":"/es/cve/CVE-2018-18558/","html_en":"/en/cve/CVE-2018-18558/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-18558","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-18558"},"untrusted":{"vendor_name":"Espressif","product_name":"Esp-idf","desc_en":"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.","affected":[],"references":[{"url":"https://github.com/espressif/esp-idf/releases","tags":["Release Notes","Third Party Advisory"]},{"url":"https://www.espressif.com/en/news/Espressif_Product_Security_Advisory_Concerning_Secure_Boot_%28CVE-2018-18558%29","tags":[]}]}}