{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "5.0.9"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "dd9987d4697cb9bb5c3b5d30ef50b3750280badd"
            }
          ],
          "repo": "https://github.com/espressif/esp-idf",
          "type": "GIT"
        },
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "5.1-beta1"
              },
              {
                "fixed": "5.1.6"
              }
            ]
          },
          "events": [
            {
              "introduced": "a6b1ebce31444e279ef6a0715289a9672ecc6db4"
            },
            {
              "fixed": "7452b1cb1d22cd1b439a6a922548efacea98ee72"
            }
          ],
          "repo": "https://github.com/espressif/esp-idf",
          "type": "GIT"
        },
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "5.2-beta1"
              },
              {
                "fixed": "5.3.3"
              }
            ]
          },
          "events": [
            {
              "introduced": "57bbfd423a1e9533d371a5e0e1e6bcec25bae6fc"
            },
            {
              "fixed": "6db3dc25df7325c1c81b7cd7d4e42babff7a818e"
            }
          ],
          "repo": "https://github.com/espressif/esp-idf",
          "type": "GIT"
        },
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "5.4-beta1"
              },
              {
                "fixed": "5.4.1"
              }
            ]
          },
          "events": [
            {
              "introduced": "64b9d85a766f182c571fd1f515ce127dfcdc9a46"
            },
            {
              "fixed": "4c2820d377d1375e787bcef612f0c32c1427d183"
            }
          ],
          "repo": "https://github.com/espressif/esp-idf",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-9w88-r2vm-qfc4"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-120",
      "CWE-131"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/55xxx/CVE-2025-55297.json"
  },
  "details": "ESF-IDF is the Espressif Internet of Things (IOT) Development Framework. The BluFi example bundled in ESP-IDF was vulnerable to memory overflows in two areas: Wi-Fi credential handling and Diffie–Hellman key exchange. This vulnerability is fixed in 5.4.1, 5.3.3, 5.1.6, and 5.0.9.",
  "id": "CVE-2025-55297",
  "modified": "2026-04-01T23:10:37.722716527Z",
  "published": "2025-08-21T15:05:06.805Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/55xxx/CVE-2025-55297.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/espressif/esp-idf/security/advisories/GHSA-9w88-r2vm-qfc4"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-55297"
    },
    {
      "type": "FIX",
      "url": "https://github.com/espressif/esp-idf/commit/12b7a9e6d78012ab9184b7ccdb5524364bf7e345"
    },
    {
      "type": "FIX",
      "url": "https://github.com/espressif/esp-idf/commit/3fc6c93936077cb1659e1f0e0268e62cf6423e9d"
    },
    {
      "type": "FIX",
      "url": "https://github.com/espressif/esp-idf/commit/5f93ec3b11b6115475c34de57093b3672d594e8f"
    },
    {
      "type": "FIX",
      "url": "https://github.com/espressif/esp-idf/commit/9cb7206d4ae8fd8f4296cd57d6c78a1656f42efa"
    },
    {
      "type": "FIX",
      "url": "https://github.com/espressif/esp-idf/commit/abc18e93eb3500dbec74c3e589671ef82c8b3919"
    },
    {
      "type": "FIX",
      "url": "https://github.com/espressif/esp-idf/commit/b1657d9dd4d0e48ed25e02cb8fe8413f479a2a84"
    },
    {
      "type": "FIX",
      "url": "https://github.com/espressif/esp-idf/commit/bf50c0c197af30990026c8f8286298d2aa5a3c99"
    },
    {
      "type": "FIX",
      "url": "https://github.com/espressif/esp-idf/commit/cb6929a2e6f2ff130b742332dc15eb23006c7cc9"
    },
    {
      "type": "FIX",
      "url": "https://github.com/espressif/esp-idf/commit/cc00e9f2fc4f7e8fbaff27851b4a8b45fa483501"
    },
    {
      "type": "FIX",
      "url": "https://github.com/espressif/esp-idf/commit/e65cf7ea2a2be52219ec9d4efc44aed5e490e91c"
    },
    {
      "type": "FIX",
      "url": "https://github.com/espressif/esp-idf/commit/f40aa9c587a8e570dfde2e6330382dcd170d5a5d"
    },
    {
      "type": "FIX",
      "url": "https://github.com/espressif/esp-idf/commit/f77da0d5b5382635c99e6708551b73802ad1213d"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U",
      "type": "CVSS_V4"
    }
  ],
  "summary": "ESF-IDF BluFi Example Memory Overflow Vulnerability"
}