{
  "id": "CVE-2026-55687",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-55687",
  "published_at": "2026-07-10T15:59:31.646Z",
  "title": "ESF-IDF: Stack-Based Out-of-Bounds Write in JPEG Decoder DQT Marker Parsing",
  "vendor": "espressif",
  "product": "esp-idf",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/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. Versions 6.0.1, 5.5.4, 5.4.4, 5.3.5, and possibly prior contain an out-of-bounds write in jpeg_parse_dqt_marker() in components/esp_driver_jpeg/jpeg_parse_marker.c because the attacker-controlled DQT marker Tq nibble is used as an index into the qt_tbl array without validating that it is in the range 0..3, allowing malformed JPEG input to corrupt stack memory and reliably trigger a denial of service. This issue is fixed in version 6.0.2 and is expected to be fixed in versions 5.5.5, 5.4.5, and 5.3.6.",
  "cwe": "CWE-121",
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "espressif",
        "product": "esp-idf",
        "ranges": [
          "\u003e= 6.0.0, \u003c 6.0.2",
          "\u003e= 5.5.0, \u003c= 5.5.4",
          "\u003e= 5.4.0, \u003c= 5.4.4",
          "\u003c= 5.3.5"
        ],
        "fixed_in": [
          "6.0.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade esp-idf to 6.0.2 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/espressif/esp-idf/security/advisories/GHSA-v6r2-f6p2-88cj"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/espressif/esp-idf/commit/303c01305acb8ae5c4eb24a1786300681b4822a4"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/espressif/esp-idf/commit/6ffafe8e93142ef8ffe51a6311d4abfc0f10fe77"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/espressif/esp-idf/commit/7ccfc00f39faf1b7e5919f45b56fe44ba699d7c1"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/espressif/esp-idf/commit/82c5c2dad45313786fb7e973059bc9094d95c3b2"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/espressif/esp-idf/commit/f2df45bcedef11354e83c31a9718d680a68422c4"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/espressif/esp-idf/releases/tag/v6.0.2"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
