{
  "id": "CVE-2025-55297",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-55297",
  "published_at": "2025-08-21T15:05:06.805Z",
  "title": "ESF-IDF BluFi Example Memory Overflow Vulnerability",
  "vendor": "espressif",
  "product": "esp-idf",
  "cvss": {
    "score": 8.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-120",
  "cpes": [
    "cpe:2.3:a:espressif:esp-idf:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 5.2,
    "nvd": 8.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "espressif",
        "product": "esp-idf",
        "ranges": [
          "\u003c 5.0.9",
          "\u003e= 5.1-beta1, \u003c 5.1.6",
          "\u003e= 5.2-beta1, \u003c 5.3.3",
          "\u003e= 5.4-beta1, \u003c 5.4.1"
        ],
        "fixed_in": [
          "5.0.9",
          "5.1.6",
          "5.3.3",
          "5.4.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade esp-idf to 5.0.9 or 5.1.6 or 5.3.3 or 5.4.1 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/espressif/esp-idf/security/advisories/GHSA-9w88-r2vm-qfc4"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/espressif/esp-idf/commit/12b7a9e6d78012ab9184b7ccdb5524364bf7e345"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/espressif/esp-idf/commit/3fc6c93936077cb1659e1f0e0268e62cf6423e9d"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/espressif/esp-idf/commit/5f93ec3b11b6115475c34de57093b3672d594e8f"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/espressif/esp-idf/commit/9cb7206d4ae8fd8f4296cd57d6c78a1656f42efa"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/espressif/esp-idf/commit/abc18e93eb3500dbec74c3e589671ef82c8b3919"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/espressif/esp-idf/commit/b1657d9dd4d0e48ed25e02cb8fe8413f479a2a84"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/espressif/esp-idf/commit/bf50c0c197af30990026c8f8286298d2aa5a3c99"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
