CVE-2018-18558: Input Validation

Published May 13, 2019
·
Updated

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 processsegment in components/bootloadersupport/src/espimageformat.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 Software

2 affected components
Espressif ESP-IDF>=2.0<3.0.6
Espressif ESP-IDF>=3.1<=3.1.1

Event History

May 13, 2019
CVE Published
via MITRE·12:49 PM
Data Sourced
via MITRE·12:49 PM
Description

Frequently Asked Questions

1

What is CVE-2018-18558?

CVE-2018-18558 is a vulnerability in the 2nd stage bootloader of Espressif ESP-IDF 2.x and 3.x before 3.0.6 and 3.1.x before 3.1.1.

2

How does CVE-2018-18558 affect Espressif ESP-IDF?

CVE-2018-18558 allows a physically proximate attacker to bypass secure boot checks and execute arbitrary code.

3

What is the severity of CVE-2018-18558?

CVE-2018-18558 has a severity rating of medium (CVSS score 6.4).

4

How can I fix CVE-2018-18558?

To fix CVE-2018-18558, update Espressif ESP-IDF to version 3.0.6 or 3.1.1.

5

Where can I find more information about CVE-2018-18558?

More information about CVE-2018-18558 can be found in the Espressif ESP-IDF releases page and the Espressif Product Security Advisory.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203