Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2019-15894

An issue was discovered in Espressif ESP-IDF 2.x, 3.0.x through 3.0.9, 3.1.x through 3.1.6, 3.2.x through 3.2.3, and 3.3.x through 3.3.1. An attacker who uses fault injection to physically disrupt the ESP32 CPU can bypass the Secure Boot digest verification at startup, and boot unverified code from flash. The fault injection attack does not disable the Flash Encryption feature, so if the ESP32 is configured with the recommended combination of Secure Boot and Flash Encryption, then the impact is minimized. If the ESP32 is configured without Flash Encryption then successful fault injection allows arbitrary code execution. To protect devices with Flash Encryption and Secure Boot enabled against this attack, a firmware change must be made to permanently enable Flash Encryption in the field if it is not already permanently enabled.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2019-15894
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 06:51 UTC · Revision 1

Source evidence

CVE-2019-15894

core-osv · Original source

Published 7 Oct 2019, 16:15 UTC

An issue was discovered in Espressif ESP-IDF 2.x, 3.0.x through 3.0.9, 3.1.x through 3.1.6, 3.2.x through 3.2.3, and 3.3.x through 3.3.1. An attacker who uses fault injection to physically disrupt the ESP32 CPU can bypass the Secure Boot digest verification at startup, and boot unverified code from flash. The fault injection attack does not disable the Flash Encryption feature, so if the ESP32 is configured with the recommended combination of Secure Boot and Flash Encryption, then the impact is minimized. If the ESP32 is configured without Flash Encryption then successful fault injection allows arbitrary code execution. To protect devices with Flash Encryption and Secure Boot enabled against this attack, a firmware change must be made to permanently enable Flash Encryption in the field if it is not already permanently enabled.

osv:CVE-2019-15894
Complete source record
{
  "id": "4398d89b3aab4054d311c9ab7e84ce98c5320cf151c30edf610d75f6803f3fff",
  "url": "https://osv.dev/vulnerability/CVE-2019-15894",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2019-15894",
    "summary": "An issue was discovered in Espressif ESP-IDF 2.x, 3.0.x through 3.0.9, 3.1.x through 3.1.6, 3.2.x through 3.2.3, and 3.3.x through 3.3.1. An attacker who uses fault injection to physically disrupt the ESP32 CPU can bypass the Secure Boot digest verification at startup, and boot unverified code from flash. The fault injection attack does not disable the Flash Encryption feature, so if the ESP32 is configured with the recommended combination of Secure Boot and Flash Encryption, then the impact is minimized. If the ESP32 is configured without Flash Encryption then successful fault injection allows arbitrary code execution. To protect devices with Flash Encryption and Secure Boot enabled against this attack, a firmware change must be made to permanently enable Flash Encryption in the field if it is not already permanently enabled.",
    "evidence": "osv:CVE-2019-15894",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2019-15894",
      "aliases": [
        "CVE-2019-15894"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/espressif/esp-idf",
              "type": "GIT",
              "events": [
                {
                  "introduced": "3f8f618df5157906e2ebe65f94b003e3ac1b82a7"
                },
                {
                  "fixed": "f3704f027e70a370bed3852f39c2ce48b9e8c7dc"
                },
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2c780ab1cc39eb0c92241a6d8bef10c0a1ae532c"
                },
                {
                  "fixed": "ca1e5e5bc52182a577f1706c8dcbb4d9d7afe310"
                },
                {
                  "introduced": "c18890875e64de59581dc1bfe5fd094b262a7dc4"
                },
                {
                  "fixed": "143d26aa49df524e10fb8e41a71d12e731b9b71d"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:espressif:esp-idf:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.0"
                      },
                      {
                        "fixed": "3.0.9"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:espressif:esp-idf:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.1.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:espressif:esp-idf:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.2.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:espressif:esp-idf:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.3"
                      },
                      {
                        "fixed": "3.3.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v3.3",
            "v3.3-rc",
            "v3.1.5",
            "v3.2.2",
            "v3.0.8",
            "v3.2.1",
            "v3.3-beta3",
            "v3.1.4",
            "v3.2-rc",
            "v3.2",
            "v3.3-beta2",
            "v3.2-beta3",
            "v3.1.3",
            "v3.1.2",
            "v3.0.7-rc",
            "v3.0.7",
            "v3.3-beta1",
            "v3.2-beta1",
            "v3.1.1",
            "v3.0.6",
            "v3.0.6-rc",
            "v3.3-dev",
            "v3.1.1-rc2",
            "v3.0.5-rc",
            "v3.0.5",
            "v3.0.4-rc1",
            "v3.0.4",
            "v3.1-rc2",
            "v3.1",
            "v3.1-rc1",
            "v3.0.3-rc",
            "v3.0.3",
            "v3.0.2",
            "v3.1-beta1",
            "v3.2-dev",
            "v3.0.1-rc",
            "v3.0.1",
            "v3.0",
            "v3.0-rc1",
            "v3.1-dev",
            "v3.0-dev"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-15894.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:45.461026192Z",
      "provider": "osv",
      "references": [
        "https://www.espressif.com/en/news/Espressif_Security_Advisory_Concerning_Fault_Injection_and_Secure_Boot"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2019-15894",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 436120,
  "published_at": "2019-10-07T16:15:11.413+00:00"
}